Pagini recente » Borderou de evaluare (job #1600360) | Borderou de evaluare (job #3148708) | Borderou de evaluare (job #3202659) | Borderou de evaluare (job #238083) | Borderou de evaluare (job #2296084)
Borderou de evaluare (job #2296084)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:60:28: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
scanf("%s", &mat[i]);
^
main.cpp:55:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.in", "r", stdin);
^
main.cpp:56:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("barbar.out", "w", stdout);
^
main.cpp:58:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &r, &col);
^
main.cpp:60:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &mat[i]);
^
main.cpp:143:32: warning: 'finishy' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(viz[finishx][finishy])
~~~~~~~~~~~~~~~~~~~~^
main.cpp:143:32: warning: 'finishx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:127:10: warning: 'starty' may be used uninitialized in this function [-Wmaybe-uninitialized]
solve(1, startx * 1001 + starty, r, col);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:127:21: warning: 'startx' may be used uninitialized in this function [-Wmaybe-uninitialized]
solve(1, startx * 1001 + starty, r, col);
~~~~~~~^~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Ok! | 10 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 2ms | 262kb | Wrong answer! | 0 |
4 | 3ms | 262kb | Ok! | 10 |
5 | 5ms | 1048kb | Ok! | 10 |
6 | 7ms | 1048kb | Wrong answer! | 0 |
7 | 33ms | 2883kb | Wrong answer! | 0 |
8 | 76ms | 4718kb | Ok! | 10 |
9 | 222ms | 9699kb | Ok! | 10 |
10 | 5ms | 1048kb | Killed by Signal 11 | 0 |
Punctaj total | 50 |