Pagini recente » Borderou de evaluare (job #1763992) | Borderou de evaluare (job #1120785) | Borderou de evaluare (job #1301902) | Borderou de evaluare (job #3323786) | Borderou de evaluare (job #1696643)
Borderou de evaluare (job #1696643)
Raport evaluator
Compilare:
user.cpp: In function ‘void read_file()’:
user.cpp:66:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d", &manca[i][j]);
^
user.cpp:55:88: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%d%d%d%d%d%d", &p, &n, &m, &t, &panda.l, &panda.c, &codpanda, &biti);
^
user.cpp:62:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &l, &c), a[l][c] = 1;//, fprintf(g, "%d %d\n", l, c);
^
user.cpp:66:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &manca[i][j]);
^
user.cpp: In function ‘void solve_2()’:
user.cpp:158:36: warning: ‘mn’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(g, "%d %d", mn - 1, cnt);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 4 |
| 2 | 0ms | 472kb | OK | 4 |
| 3 | 0ms | 472kb | Incorect | 0 |
| 4 | 32ms | 1900kb | OK | 4 |
| 5 | 0ms | 476kb | Incorect | 0 |
| 6 | 36ms | 1648kb | OK | 4 |
| 7 | 68ms | 2688kb | OK | 4 |
| 8 | 80ms | 3032kb | Incorect | 0 |
| 9 | 44ms | 2000kb | Incorect | 0 |
| 10 | 28ms | 1700kb | Incorect | 0 |
| 11 | 0ms | 456kb | Incorect | 0 |
| 12 | 52ms | 3228kb | Incorect | 0 |
| 13 | 80ms | 3256kb | Incorect | 0 |
| 14 | 72ms | 3124kb | Incorect | 0 |
| 15 | 0ms | 528kb | Incorect | 0 |
| 16 | 68ms | 2688kb | Incorect | 0 |
| 17 | 60ms | 2688kb | Incorect | 0 |
| 18 | 4ms | 800kb | Incorect | 0 |
| 19 | 16ms | 1372kb | Incorect | 0 |
| 20 | 12ms | 1040kb | Incorect | 0 |
| 21 | 76ms | 3012kb | Incorect | 0 |
| 22 | 68ms | 2796kb | Incorect | 0 |
| 23 | 48ms | 2760kb | Incorect | 0 |
| 24 | 80ms | 2976kb | Incorect | 0 |
| 25 | 48ms | 1912kb | Incorect | 0 |
| Punctaj total | 20 |