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
255f6279
Commit
255f6279
authored
May 21, 2019
by
royus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
start writing solver
parent
8d30fc8b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
6 deletions
+26
-6
io.h
io.h
+1
-4
main.c
main.c
+1
-2
solver.c
solver.c
+14
-0
solver.h
solver.h
+10
-0
No files found.
io.h
View file @
255f6279
/* io.h */
/* Last Change: 2019/05/21 (Tue) 1
3:55:21
. */
/* Last Change: 2019/05/21 (Tue) 1
4:01:43
. */
#ifndef _IO_H_
#define _IO_H_
...
...
@@ -39,7 +39,4 @@ void read_problem(void);
void
convert_answer
(
void
);
void
print_answer
(
void
);
// 関数avgのプロトタイプ宣言
double
avg
(
double
,
double
);
#endif // _IO_H_
main.c
View file @
255f6279
/* main.c */
/* Last Change: 2019/05/21 (Tue) 1
3:57:57
. */
/* Last Change: 2019/05/21 (Tue) 1
4:03:16
. */
#include"io.h"
int
main
(
void
){
read_problem
();
// solver();
w
=
h
=
10
;
// for output
convert_answer
();
print_answer
();
...
...
solver.c
0 → 100644
View file @
255f6279
/* solver.c */
/* Last Change: 2019/05/21 (Tue) 14:03:02. */
#include<stdio.h>
/* #include<stdlib.h> */
/* #include<string.h> */
/* #include<limits.h> */
/* #include<math.h> */
/* #include<time.h> */
void
solver
(
void
){
return
;
}
solver.h
0 → 100644
View file @
255f6279
/* solver.h */
/* Last Change: 2019/05/21 (Tue) 14:01:34. */
#ifndef _SOLVER_H_
#define _SOLVER_H_
#define MAXSIZE 128
void
solver
(
void
);
#endif // _SOLVER_H_
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