Pagini recente » Borderou de evaluare (job #1301798) | Borderou de evaluare (job #3042222) | Borderou de evaluare (job #135038) | Borderou de evaluare (job #99781) | Borderou de evaluare (job #1594488)
Borderou de evaluare (job #1594488)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short unsigned int*’ [-Wformat=]
fscanf(f1,"%d%d%d%d%d%d%d%d",&p,&n,&m,&t,&urs.x,&urs.y,&k,&s);
^
user.cpp:46:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:48:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
fscanf(f1,"%d%d",&mancare[i].x,&mancare[i].y);
^
user.cpp:48:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:104:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
fprintf(f2,"%ld %d",min,tarcuri);
^
user.cpp:46:66: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d%d%d%d%d%d%d",&p,&n,&m,&t,&urs.x,&urs.y,&k,&s);
^
user.cpp:48:54: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d",&mancare[i].x,&mancare[i].y);
^
user.cpp:52:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d",&cod[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 4 |
| 2 | 0ms | 304kb | OK | 4 |
| 3 | 0ms | 312kb | OK | 4 |
| 4 | 28ms | 1448kb | OK | 4 |
| 5 | 0ms | 328kb | OK | 4 |
| 6 | 40ms | 1648kb | OK | 4 |
| 7 | 64ms | 2240kb | OK | 4 |
| 8 | 80ms | 2736kb | OK | 4 |
| 9 | 52ms | 2128kb | OK | 4 |
| 10 | 32ms | 1644kb | OK | 4 |
| 11 | 0ms | 300kb | OK | 4 |
| 12 | 52ms | 2704kb | OK | 4 |
| 13 | 76ms | 2704kb | OK | 4 |
| 14 | 76ms | 3220kb | OK | 4 |
| 15 | 0ms | 396kb | OK | 4 |
| 16 | 72ms | 2628kb | OK | 4 |
| 17 | 72ms | 2636kb | OK | 4 |
| 18 | 0ms | 700kb | OK | 4 |
| 19 | 16ms | 1188kb | OK | 4 |
| 20 | 12ms | 960kb | OK | 4 |
| 21 | 80ms | 2732kb | OK | 4 |
| 22 | 68ms | 2684kb | OK | 4 |
| 23 | 52ms | 2616kb | OK | 4 |
| 24 | 72ms | 2764kb | OK | 4 |
| 25 | 56ms | 2216kb | OK | 4 |
| Punctaj total | 100 |