Pagini recente » Borderou de evaluare (job #2704663) | Borderou de evaluare (job #224781) | Borderou de evaluare (job #2473828) | Borderou de evaluare (job #2730353) | Borderou de evaluare (job #1911290)
Borderou de evaluare (job #1911290)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:86:35: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(ma[a][b]==ma[c][dd] && num[a][b]!=num[c][dd] && ma[a][b]!=ma[i][j]) if((d[a][b]+d[c][dd]+1)>maxi) {maxi=d[a][b]+d[c][dd]+1;solx=i;soly=j;solpoz=ma[a][b];}
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.in","r",stdin);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ferma3.out","w",stdout);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&p,&m,&n);
^
user.cpp:49:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",mn);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 780kb | Corect! Varianta 1 | 5 |
| 2 | 0ms | 848kb | Corect! Varianta 1 | 5 |
| 3 | 0ms | 1380kb | Corect! Varianta 1 | 5 |
| 4 | 96ms | 1860kb | Corect! Varianta 1 | 5 |
| 5 | 16ms | 3576kb | Corect! Varianta 1 | 5 |
| 6 | 0ms | 364kb | Linie in afara matricei | 0 |
| 7 | 0ms | 652kb | Corect! Varianta 2 | 5 |
| 8 | 0ms | 632kb | Corect! Varianta 2 | 5 |
| 9 | 12ms | 768kb | Corect! Varianta 2 | 5 |
| 10 | 12ms | 772kb | Corect! Varianta 2 | 5 |
| 11 | 32ms | 988kb | Corect! Varianta 2 | 5 |
| 12 | 68ms | 1352kb | Corect! Varianta 2 | 5 |
| 13 | 140ms | 2384kb | Gresit! | 0 |
| 14 | 80ms | 1504kb | Corect! Varianta 2 | 5 |
| 15 | 148ms | 1708kb | Corect! Varianta 2 | 5 |
| 16 | 152ms | 1760kb | Corect! Varianta 2 | 5 |
| 17 | 160ms | 1812kb | Gresit! | 0 |
| 18 | 152ms | 1756kb | Corect! Varianta 2 | 5 |
| 19 | Depăşit | 2300kb | Time limit exceeded. | 0 |
| 20 | 0ms | 356kb | Corect! Varianta 1 | 5 |
| Punctaj total | 80 |