Record Detail

Accepted

/in/board.c: In function 'probe':
/in/board.c:82:33: warning: 'sizeof' on array function parameter 'oppos' will return size of 'int *' [-Wsizeof-array-argument]
     memset(oppos, 0, (int)sizeof(oppos));
                                 ^
/in/board.c:77:53: note: declared here
 int probe(Board board, int x, int y, Disk disk, int oppos[BOARD_SIZE * BOARD_SIZE]) {
                                                     ^~~~~
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 260.0 KiB
#2 Accepted Detail 1ms 336.0 KiB
#3 Accepted Detail 1ms 276.0 KiB
#4 Accepted Detail 1ms 256.0 KiB
#5 Accepted Detail 1ms 248.0 KiB
#6 Accepted Detail 1ms 260.0 KiB
#7 Accepted Detail 1ms 260.0 KiB
#8 Accepted Detail 1ms 256.0 KiB
#9 Accepted Detail 1ms 256.0 KiB
#10 Accepted Detail 1ms 280.0 KiB
#11 Accepted Detail 1ms 212.0 KiB
#12 Accepted Detail 1ms 212.0 KiB
#13 Accepted Detail 1ms 212.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 8 exercises
Language
C
Submit At
2022-07-09 23:56:45
Judged At
2022-07-09 23:56:45
Judged By
Score
30
Total Time
15ms
Peak Memory
336.0 KiB