Pagini recente » Borderou de evaluare (job #1672730) | Borderou de evaluare (job #2247219) | Borderou de evaluare (job #2618575) | Borderou de evaluare (job #2269047) | Borderou de evaluare (job #1263117)
Borderou de evaluare (job #1263117)
Raport evaluator
Compilare:
user.cpp: In function ‘void print(char, char)’:
user.cpp:27:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
print(lasti[x][y], lastj[x][y]);
^
user.cpp:27:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
print(lasti[x][y], lastj[x][y]);
^
user.cpp:27:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
print(lasti[x][y], lastj[x][y]);
^
user.cpp:27:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
print(lasti[x][y], lastj[x][y]);
^
user.cpp: In function ‘int main()’:
user.cpp:39:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d", &grid[i][j]);
^
user.cpp:43:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d", &nSteps[i]);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in", "r", stdin);
^
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.out", "w", stdout);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &grid[i][j]);
^
user.cpp:41:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nMoves);
^
user.cpp:43:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nSteps[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OKAY! | 10 |
2 | 0ms | 292kb | OKAY! | 10 |
3 | 0ms | 300kb | OKAY! | 10 |
4 | 0ms | 308kb | OKAY! | 10 |
5 | 0ms | 316kb | OKAY! | 10 |
6 | 0ms | 328kb | OKAY! | 10 |
7 | 0ms | 328kb | OKAY! | 10 |
8 | 0ms | 336kb | OKAY! | 10 |
9 | 20ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 288kb | OKAY! | 10 |
Punctaj total | 90 |