From: Marius Gavrilescu Date: Tue, 3 Feb 2015 12:08:39 +0000 (+0200) Subject: Fix generator for square test problem X-Git-Tag: 5999.000_005~65 X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=commitdiff_plain;h=47cacfdad69ea942c80460b2564db772b48dd9a0 Fix generator for square test problem --- diff --git a/t/problems/square/gen.c b/t/problems/square/gen.c index 324e0c1..7084d18 100644 --- a/t/problems/square/gen.c +++ b/t/problems/square/gen.c @@ -1,8 +1,6 @@ #include -#include int main(int argc, char **argv){ - int testnum = atoi(argv[0]); - printf("%d", testnum); + printf("%s", argv[1]); return 0; }