Record Detail

Runtime Error

/in/terminal.c: In function 'load':
/in/terminal.c:129:26: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'Disk * {aka enum <anonymous> *}' [-Wformat=]
             fscanf(fp, "%d", &game->board[i][j]);
                         ~^   ~~~~~~~~~~~~~~~~~~
/in/terminal.c:133:18: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'char **' [-Wformat=]
     fscanf(fp, "%s", &turn);
                 ~^   ~~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 2ms 884.0 KiB
#2 Runtime Error (139) Detail 2ms 1012.0 KiB
#3 Accepted Detail 2ms 908.0 KiB
#4 Accepted Detail 2ms 1012.0 KiB
#5 Runtime Error (139) Detail 2ms 912.0 KiB

Information

Submit By
Type
Submission
Homework
Lab10 Thu
Language
C
Submit At
2024-07-25 20:47:02
Judged At
2024-07-25 20:47:02
Judged By
Score
9
Total Time
13ms
Peak Memory
1012.0 KiB