Record Detail

Runtime Error

/in/ex3.c: In function 'main':
/in/ex3.c:10:5: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
     gets(str);
     ^~~~
/in/ex3.c:8:11: warning: unused variable 'j' [-Wunused-variable]
     int i,j,x;
           ^
/in/ex3.c:8:9: warning: unused variable 'i' [-Wunused-variable]
     int i,j,x;
         ^
/tmp/ccXs4sNz.o: In function `main':
ex3.c:(.text.startup+0x44): warning: the `gets' function is dangerous and should not be used.
# Status Time Cost Memory Cost
#1 Wrong Answer 0ms 332.0 KiB
#2 Wrong Answer 0ms 336.0 KiB
#3 Wrong Answer 0ms 204.0 KiB
#4 Wrong Answer 0ms 204.0 KiB
#5 Wrong Answer 0ms 340.0 KiB
#6 Runtime Error 1ms 452.0 KiB
#7 Runtime Error 1ms 376.0 KiB
#8 Runtime Error 1ms 332.0 KiB
#9 Runtime Error 1ms 348.0 KiB
#10 Runtime Error 1ms 328.0 KiB

Information

Submit By
Type
Submission
Homework
Assignment 5
Language
C
Submit At
2018-06-27 20:03:06
Judged At
2018-06-27 20:03:06
Judged By
Score
0
Total Time
9ms
Peak Memory
452.0 KiB