Record Detail

Time Exceeded

/in/terminal.c: In function 'load':
/in/terminal.c:125: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 file included from /in/terminal.c:9:0:
/in/terminal.c: In function 'save':
/in/compile/terminal.h:12:17: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
 #define RED     "\033[31m"      /* Red */
                 ^
/in/terminal.c:154:16: note: in expansion of macro 'RED'
         printf(RED"%s does not exist, save sample.txt by default.\n"RESET);
                ^~~
/in/terminal.c:154:21: note: format string is defined here
         printf(RED"%s does not exist, save sample.txt by default.\n"RESET);
                    ~^
# Status Time Cost Memory Cost
#1 Time Exceeded (-9) Detail ≥1006ms ≥408.0 KiB
#2 Time Exceeded (-9) Detail ≥1006ms ≥448.0 KiB
#3 Time Exceeded (-9) Detail ≥1000ms ≥768.0 KiB
#4 Time Exceeded (-9) Detail ≥1019ms ≥668.0 KiB
#5 Time Exceeded (-9) Detail ≥1006ms ≥452.0 KiB
#6 Time Exceeded (-9) Detail ≥1003ms ≥5.285 MiB
#7 Time Exceeded (-9) Detail ≥1001ms ≥644.0 KiB
#8 Time Exceeded (-9) Detail ≥1001ms ≥616.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 9 Exercises
Language
C
Submit At
2022-07-14 23:07:18
Judged At
2022-07-14 23:07:18
Judged By
Score
0
Total Time
≥8046ms
Peak Memory
≥5.285 MiB