Pagini recente » Borderou de evaluare (job #2942738) | Borderou de evaluare (job #2448380) | Borderou de evaluare (job #547671) | Borderou de evaluare (job #1911682) | Borderou de evaluare (job #1268161)
Borderou de evaluare (job #1268161)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:26: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, room, cnt, k, newi, newj, change;
^
user.cpp:59:29: warning: unused variable ‘newi’ [-Wunused-variable]
int i, j, room, cnt, k, newi, newj, change;
^
user.cpp:59:35: warning: unused variable ‘newj’ [-Wunused-variable]
int i, j, room, cnt, k, newi, newj, change;
^
user.cpp:59:41: warning: unused variable ‘change’ [-Wunused-variable]
int i, j, room, cnt, k, newi, newj, change;
^
user.cpp:57:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("castel.in", "r", stdin);
^
user.cpp:58:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("castel.out", "w", stdout);
^
user.cpp:61:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &room);
^
user.cpp:64:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &grid[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 560kb | OK | 10 |
2 | 0ms | 568kb | OK | 10 |
3 | 0ms | 564kb | OK | 10 |
4 | 4ms | 760kb | OK | 10 |
5 | 12ms | 928kb | OK | 10 |
6 | 4ms | 780kb | OK | 10 |
7 | 8ms | 816kb | OK | 10 |
8 | 12ms | 940kb | OK | 10 |
9 | 12ms | 976kb | OK | 10 |
10 | 12ms | 984kb | OK | 10 |
Punctaj total | 100 |