Record Detail

Runtime Error

/in/ex4.c: In function 'main':
/in/ex4.c:11:13: warning: format '%c' expects argument of type 'char *', but argument 2 has type 'time_t * {aka long int *}' [-Wformat=]
     scanf("%c", &time_T);
             ^
/in/ex4.c:16:5: warning: 'tmTime' is used uninitialized in this function [-Wuninitialized]
     strftime(strTime, sizeof(strTime), format, tmTime);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Status Time Cost Memory Cost
#1 Runtime Error 1ms 332.0 KiB
#2 Runtime Error 1ms 380.0 KiB
#3 Runtime Error 1ms 296.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 4
Language
C
Submit At
2018-06-21 13:14:39
Judged At
2018-06-21 13:14:39
Judged By
Score
0
Total Time
3ms
Peak Memory
380.0 KiB