Pagini recente » Borderou de evaluare (job #2020044) | Borderou de evaluare (job #1722465) | Borderou de evaluare (job #2583038) | Borderou de evaluare (job #1465544) | Borderou de evaluare (job #1729100)
Borderou de evaluare (job #1729100)
Raport evaluator
Compilare:
user.cpp: In function ‘void init()’:
user.cpp:29:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
viz[i][j]=d[i][j]=0;
^
user.cpp: In function ‘int main()’:
user.cpp:88:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.in", "r", stdin);
^
user.cpp:89:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.out", "w", stdout);
^
user.cpp:91:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:92:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d", &tg.x, &tg.y, &sursa1.x, &sursa1.y, &sursa2.x, &sursa2.y);
^
user.cpp:93:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &rob1.x, &rob1.y, &rob2.x, &rob2.y);
^
user.cpp:94:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:96:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &lin, &col), v[lin][col]=1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 368kb | Primul numar corect | 1 |
| 2 | 0ms | 424kb | OK | 5 |
| 3 | 0ms | 616kb | Primul numar corect | 1 |
| 4 | 12ms | 1344kb | Primul numar corect | 1 |
| 5 | 16ms | 1732kb | Primul numar corect | 1 |
| 6 | 40ms | 2664kb | OK | 5 |
| 7 | 4ms | 948kb | OK | 5 |
| 8 | 0ms | 576kb | Primul numar corect | 1 |
| 9 | 20ms | 1920kb | Primul numar corect | 1 |
| 10 | 76ms | 5112kb | Primul numar corect | 1 |
| 11 | 88ms | 4968kb | Primul numar corect | 1 |
| 12 | 192ms | 6448kb | Primul numar corect | 1 |
| 13 | 236ms | 9036kb | Primul numar corect | 1 |
| 14 | 292ms | 10820kb | Primul numar corect | 1 |
| 15 | 296ms | 13708kb | Primul numar corect | 1 |
| 16 | 292ms | 13104kb | Primul numar corect | 1 |
| 17 | 204ms | 9584kb | OK | 5 |
| 18 | Depăşit | 13200kb | Time limit exceeded. | 0 |
| 19 | 180ms | 6896kb | Primul numar corect | 1 |
| 20 | 288ms | 11916kb | Primul numar corect | 1 |
| Punctaj total | 35 |