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
@@ -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.