Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
AP Lab 6
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Omid Sayfun
AP Lab 6
Commits
fa80d9d3
Commit
fa80d9d3
authored
Apr 16, 2019
by
Omid Sayfun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize Classes
parents
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
Main.java
Main.java
+39
-0
No files found.
Main.java
0 → 100644
View file @
fa80d9d3
import
java.util.*
;
import
java.io.IOException
;
public
class
Main
{
static
class
Board
{
public
int
n
;
public
int
m
;
public
ArrayList
<
Thief
>
thiefs
;
public
ArrayList
<
Police
>
polices
;
public
Board
(
int
n
,
int
m
){
this
.
n
=
n
;
this
.
m
=
m
;
this
.
thiefs
=
new
ArrayList
<
Thief
>();
this
.
polices
=
new
ArrayList
<
Police
>();
}
}
static
class
Thief
{
public
int
x
;
public
int
y
;
public
Thief
(
int
x
,
int
y
){
this
.
x
=
x
;
this
.
y
=
y
;
}
}
static
class
Police
{
public
int
x
;
public
int
y
;
public
Police
(
int
x
,
int
y
){
this
.
x
=
x
;
this
.
y
=
y
;
}
}
public
static
void
main
(
String
[]
args
)
throws
IOException
,
InterruptedException
{
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment