Record Detail

Wrong Answer

/in/ex1.c: In function 'signum':
/in/ex1.c:46:21: warning: statement with no effect [-Wunused-value]
     sign=='+' ? num : -num;
     ~~~~~~~~~~~~~~~~^~~~~~
/in/ex1.c:47:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Status Time Cost Memory Cost
#1 Wrong Answer 0ms 248.0 KiB
#2 Wrong Answer 0ms 324.0 KiB
#3 Wrong Answer 0ms 248.0 KiB
#4 Wrong Answer 1ms 196.0 KiB
#5 Wrong Answer 0ms 256.0 KiB
#6 Wrong Answer 0ms 256.0 KiB
#7 Wrong Answer 0ms 256.0 KiB
#8 Wrong Answer 1ms 264.0 KiB
#9 Wrong Answer 1ms 256.0 KiB
#10 Wrong Answer 1ms 332.0 KiB

Information

Submit By
Type
Submission
Problem
h4ex1: Structure, basic programming
Homework
Assignment 4
Language
C
Submit At
2018-06-22 21:02:07
Judged At
2018-06-22 21:02:07
Judged By
Score
0
Total Time
10ms
Peak Memory
332.0 KiB