Record Detail

Accepted

/in/ex1.c: In function 'SIGN':
/in/ex1.c:14:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/ex1.c: In function 'main':
/in/ex1.c:39:21: warning: 'result.imag' may be used uninitialized in this function [-Wmaybe-uninitialized]
         result.imag *= (-1);
                     ^~
/in/ex1.c:41:5: warning: 'result.real' may be used uninitialized in this function [-Wmaybe-uninitialized]
     printf("%d%c%di",result.real,result.sign,result.imag);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Accepted 0ms 332.0 KiB
#2 Accepted 0ms 328.0 KiB
#3 Accepted 0ms 248.0 KiB
#4 Accepted 0ms 324.0 KiB
#5 Accepted 0ms 328.0 KiB
#6 Accepted 0ms 328.0 KiB
#7 Accepted 0ms 332.0 KiB
#8 Accepted 1ms 256.0 KiB
#9 Accepted 1ms 280.0 KiB
#10 Accepted 0ms 200.0 KiB

Information

Submit By
Type
Submission
Problem
h4ex1: Structure, basic programming
Homework
Assignment 4
Language
C
Submit At
2018-06-18 18:03:14
Judged At
2018-06-18 18:03:14
Judged By
Score
100
Total Time
9ms
Peak Memory
332.0 KiB