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 324e0c1..7084d18 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.028282 seconds and 4 git commands to generate.