projects
/
gruntmaster-daemon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix generator for square test problem
[gruntmaster-daemon.git]
/
t
/
problems
/
square
/
gen.c
diff --git
a/t/problems/square/gen.c
b/t/problems/square/gen.c
index 324e0c16cf9c53ceb63879cab2b509205a74b70e..7084d18113efe4292a404530b94db47e7f3bf7fe 100644
(file)
--- a/
t/problems/square/gen.c
+++ b/
t/problems/square/gen.c
@@
-1,8
+1,6
@@
#include<stdio.h>
#include<stdio.h>
-#include<stdlib.h>
int main(int argc, char **argv){
int main(int argc, char **argv){
- int testnum = atoi(argv[0]);
- printf("%d", testnum);
+ printf("%s", argv[1]);
return 0;
}
return 0;
}
This page took
0.009642 seconds
and
4
git commands to generate.