Record Detail

Time Exceeded

/in/lab3.c: In function 'main':
/in/lab3.c:10:7: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
     p=strlen(str);
       ^~~~~~
/in/lab3.c:10:7: warning: incompatible implicit declaration of built-in function 'strlen'
/in/lab3.c:10:7: note: include '<string.h>' or provide a declaration of 'strlen'
/in/lab3.c:75:13: warning: too many arguments for format [-Wformat-extra-args]
      printf("count:%d\nodd:%d\nmaximum:%d\nminimum:%d\naverage:%lf\nsum:%d\nproduct:%d\n",count,odd,maximum,minimum,average,sum,product,p);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Wrong Answer Detail 1ms 256.0 KiB
#2 Accepted Detail 1ms 256.0 KiB
#3 Wrong Answer Detail 1ms 264.0 KiB
#4 Wrong Answer Detail 1ms 328.0 KiB
#5 Accepted Detail 1ms 256.0 KiB
#6 Wrong Answer Detail 1ms 256.0 KiB
#7 Wrong Answer Detail 1ms 296.0 KiB
#8 Accepted Detail 1ms 256.0 KiB
#9 Accepted Detail 0ms 256.0 KiB
#10 Time Exceeded (-9) Detail ≥10005ms ≥376.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 3 - Advanced Counter
Language
C
Submit At
2022-10-25 17:29:09
Judged At
2022-10-25 17:29:09
Judged By
Score
40
Total Time
≥10017ms
Peak Memory
≥376.0 KiB