Pagini recente » Borderou de evaluare (job #1531889) | Borderou de evaluare (job #1741382) | Borderou de evaluare (job #2944078) | Borderou de evaluare (job #3268027) | Borderou de evaluare (job #2296096)
Borderou de evaluare (job #2296096)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:28: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
scanf("%s", &mat[i]);
^
main.cpp:23:11: warning: unused variable 'b' [-Wunused-variable]
poz a,b, curent;
^
main.cpp:19: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:20: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:24: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:26:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &mat[i]);
^
main.cpp:94:33: warning: 'finish.poz::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
while(viz[finish.x][finish.y] == 0 && i >= 1)
~~~~~~~~~~~~~~~~~~~~~~^
main.cpp:94:33: warning: 'finish.poz::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 158ms | 56229kb | Wrong answer! | 0 |
| 2 | 182ms | 56229kb | Wrong answer! | 0 |
| 3 | 169ms | 56229kb | Wrong answer! | 0 |
| 4 | 178ms | 56360kb | Wrong answer! | 0 |
| 5 | 166ms | 56754kb | Wrong answer! | 0 |
| 6 | 190ms | 56754kb | Wrong answer! | 0 |
| 7 | 173ms | 57671kb | Wrong answer! | 0 |
| 8 | 210ms | 58851kb | Wrong answer! | 0 |
| 9 | 297ms | 62259kb | Wrong answer! | 0 |
| 10 | 171ms | 56754kb | Ok! | 10 |
| Punctaj total | 10 |