Pagini recente » Cod sursa (job #1257391) | Cod sursa (job #527403) | Cod sursa (job #1238797) | Cod sursa (job #50478) | Borderou de evaluare (job #2539968)
Borderou de evaluare (job #2539968)
Raport evaluator
Compilare:
main.cpp: In function 'void readGarden()':
main.cpp:46:63: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &garden[i][j].space) ;
^
main.cpp: In function 'void Debug()':
main.cpp:81:25: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("pause") ;
^
main.cpp:82:23: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
system("CLS") ;
^
main.cpp: In function 'int main()':
main.cpp:168:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &n, &m) ;
^
main.cpp:170:62: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d %d", &bunnyX, &bunnyY, &direction) ;
^
main.cpp:172:40: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &wallChanges) ;
^
main.cpp:174:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &x, &y) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 9ms | 524kb | OK | 5 |
7 | 14ms | 786kb | OK | 5 |
8 | 13ms | 786kb | OK | 5 |
9 | 13ms | 786kb | OK | 5 |
10 | 13ms | 786kb | OK | 5 |
11 | 13ms | 786kb | OK | 5 |
12 | 16ms | 786kb | OK | 5 |
13 | 9ms | 524kb | OK | 5 |
14 | 8ms | 786kb | OK | 5 |
15 | 2ms | 131kb | OK | 5 |
16 | 3ms | 262kb | OK | 5 |
17 | 6ms | 786kb | OK | 5 |
18 | 3ms | 262kb | OK | 5 |
19 | 5ms | 393kb | OK | 5 |
20 | 2ms | 131kb | OK | 5 |
Punctaj total | 100 |