]> iEval git - gruntmaster-daemon.git/commitdiff
Fix generator for square test problem
authorMarius Gavrilescu <marius@ieval.ro>
Tue, 3 Feb 2015 12:08:39 +0000 (14:08 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Tue, 3 Feb 2015 12:08:39 +0000 (14:08 +0200)
t/problems/square/gen.c

index 324e0c16cf9c53ceb63879cab2b509205a74b70e..7084d18113efe4292a404530b94db47e7f3bf7fe 100644 (file)
@@ -1,8 +1,6 @@
 #include<stdio.h>
-#include<stdlib.h>
 
 int main(int argc, char **argv){
-       int testnum = atoi(argv[0]);
-       printf("%d", testnum);
+       printf("%s", argv[1]);
        return 0;
 }
This page took 0.023985 seconds and 4 git commands to generate.