Pagini recente » Borderou de evaluare (job #1398827) | Borderou de evaluare (job #2612122) | Borderou de evaluare (job #1549078) | Cod sursa (job #954555) | Borderou de evaluare (job #1594455)
Borderou de evaluare (job #1594455)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27: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:27:65: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:29: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:29:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:27: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:29: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:33: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 | 300kb | OK | 4 |
| 2 | 0ms | 316kb | OK | 4 |
| 3 | 0ms | 296kb | Incorect | 0 |
| 4 | 36ms | 1456kb | OK | 4 |
| 5 | 0ms | 308kb | Incorect | 0 |
| 6 | 52ms | 1656kb | OK | 4 |
| 7 | 80ms | 2252kb | OK | 4 |
| 8 | 88ms | 2228kb | Incorect | 0 |
| 9 | 64ms | 2036kb | Incorect | 0 |
| 10 | 40ms | 1440kb | Incorect | 0 |
| 11 | 0ms | 280kb | Incorect | 0 |
| 12 | 60ms | 2028kb | Incorect | 0 |
| 13 | 80ms | 2032kb | Incorect | 0 |
| 14 | 88ms | 1256kb | Incorect | 0 |
| 15 | 0ms | 380kb | Incorect | 0 |
| 16 | 88ms | 2240kb | Incorect | 0 |
| 17 | 80ms | 2228kb | Incorect | 0 |
| 18 | 4ms | 656kb | Incorect | 0 |
| 19 | 20ms | 1056kb | Incorect | 0 |
| 20 | 16ms | 852kb | Incorect | 0 |
| 21 | 88ms | 2220kb | Incorect | 0 |
| 22 | 88ms | 2236kb | Incorect | 0 |
| 23 | 72ms | 2156kb | Incorect | 0 |
| 24 | 84ms | 2232kb | Incorect | 0 |
| 25 | 80ms | 2196kb | Incorect | 0 |
| Punctaj total | 20 |