Commit 255f6279 authored by royus's avatar royus

start writing solver

parent 8d30fc8b
/* io.h */
/* Last Change: 2019/05/21 (Tue) 13:55:21. */
/* Last Change: 2019/05/21 (Tue) 14: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 */
/* Last Change: 2019/05/21 (Tue) 13:57:57. */
/* Last Change: 2019/05/21 (Tue) 14:03:16. */
#include"io.h"
int main(void){
read_problem();
// solver();
w=h=10; // for output
convert_answer();
print_answer();
......
/* 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 */
/* Last Change: 2019/05/21 (Tue) 14:01:34. */
#ifndef _SOLVER_H_
#define _SOLVER_H_
#define MAXSIZE 128
void solver(void);
#endif // _SOLVER_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment