projects
/
gruntmaster-daemon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convert all test programs from CPP to C
[gruntmaster-daemon.git]
/
t
/
problems
/
increment
/
tests
/
ac
/
prog.c
diff --git a/t/problems/increment/tests/ac/prog.c
b/t/problems/increment/tests/ac/prog.c
new file mode 100644
(file)
index 0000000..
156da0c
--- /dev/null
+++ b/
t/problems/increment/tests/ac/prog.c
@@ -0,0
+1,12
@@
+#include<stdio.h>
+
+int main(void){
+ for(int i=0;i<100;i++){
+ int x;
+ scanf("%d", &x);
+ printf("%d\n", x + 1);
+ fflush(stdout);
+ }
+
+ return 0;
+}
This page took
0.010315 seconds
and
4
git commands to generate.