Pagini recente » Borderou de evaluare (job #1801598) | Borderou de evaluare (job #988018) | Borderou de evaluare (job #216112) | Borderou de evaluare (job #361493) | Borderou de evaluare (job #2296087)
Borderou de evaluare (job #2296087)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:66:28: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
scanf("%s", &mat[i]);
^
main.cpp:61: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:62: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:64: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:66:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &mat[i]);
^
main.cpp:154:32: warning: 'finishy' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(viz[finishx][finishy])
~~~~~~~~~~~~~~~~~~~~^
main.cpp:154:32: warning: 'finishx' may be used uninitialized in this function [-Wmaybe-uninitialized]
main.cpp:138:10: warning: 'starty' may be used uninitialized in this function [-Wmaybe-uninitialized]
solve(1, startx * 1001 + starty, r, col);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:138: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 | Wrong answer! | 0 |
3 | 2ms | 262kb | Wrong answer! | 0 |
4 | 3ms | 262kb | Ok! | 10 |
5 | 6ms | 1048kb | Ok! | 10 |
6 | 7ms | 1048kb | Wrong answer! | 0 |
7 | 34ms | 2883kb | Wrong answer! | 0 |
8 | 78ms | 4718kb | Ok! | 10 |
9 | 242ms | 9699kb | Ok! | 10 |
10 | 4ms | 1048kb | Ok! | 10 |
Punctaj total | 60 |