Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
solver
Project
Project
Details
Activity
Releases
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
adc2019
solver
Commits
4795667d
Commit
4795667d
authored
Jul 29, 2019
by
royus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b683426c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
main
main
+0
-0
solver.c
solver.c
+3
-3
No files found.
main
View file @
4795667d
No preview for this file type
solver.c
View file @
4795667d
/* solver.c */
/* Last Change: 2019/07/25 (Thu) 14:
15:35
. */
/* Last Change: 2019/07/25 (Thu) 14:
39:28
. */
#include<stdio.h>
#include<limits.h>
...
...
@@ -9,7 +9,7 @@
#include"io.h"
/* #include<string.h> */
/* #include<math.h> */
#define DEBUG
0
#define DEBUG
1
#define ABS(a) ((a) < 0 ? - (a) : (a))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
...
...
@@ -341,7 +341,7 @@ short int available(short int nowx,short int nowy, short int start){ //return 1
break
;
}
if
(
avail
[
nowy
][
nowx
]
==
2
)
avail
[
nowy
][
nowx
]
=
1
;
avail
[
nowy
][
nowx
]
=
0
;
return
0
;
}
...
...
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