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
284276d9
Commit
284276d9
authored
Apr 18, 2019
by
Omid Sayfun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes
parent
0ac16802
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
Main.java
Main.java
+4
-6
No files found.
Main.java
View file @
284276d9
...
...
@@ -138,12 +138,6 @@ public class Main{
p
.
x
+=
xShift
;
p
.
y
+=
yShift
;
if
(
p
.
target
==
null
&&
isThiefInRange
(
p
.
x
,
p
.
y
)
){
for
(
Police
police
:
this
.
polices
){
police
.
target
=
this
.
thief
;
}
}
this
.
policeMoves
++;
break
;
}
...
...
@@ -196,6 +190,10 @@ public class Main{
System
.
out
.
println
(
""
);
}
}
public
void
printFinal
(){
}
}
static
class
Thief
{
public
int
x
;
...
...
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