Pagini recente » Borderou de evaluare (job #1612671) | Borderou de evaluare (job #2820070) | Borderou de evaluare (job #1627192) | Borderou de evaluare (job #1437449) | Borderou de evaluare (job #1835905)
Borderou de evaluare (job #1835905)
Raport evaluator
Compilare:
user.cpp: In function ‘void readFile()’:
user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
fscanf(f, "%d%d%d%d%d%d\n", &n, &m, &pozs.l, &pozs.c, &pozf.l, &pozf.c);
^
user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=]
user.cpp:42:75: warning: format ‘%d’ expects argument of type ‘int*’, but argument 8 has type ‘short int*’ [-Wformat=]
user.cpp:42:76: 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\n", &n, &m, &pozs.l, &pozs.c, &pozf.l, &pozf.c);
^
user.cpp:49:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 2007, f);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 344kb | Incorect | 0 |
| 2 | 0ms | 688kb | Incorect | 0 |
| 3 | 0ms | 684kb | Incorect | 0 |
| 4 | 4ms | 1068kb | Incorect | 0 |
| 5 | 0ms | 756kb | OK | 10 |
| 6 | 0ms | 752kb | Incorect | 0 |
| 7 | 4ms | 1408kb | Incorect | 0 |
| 8 | 108ms | 3036kb | Incorect | 0 |
| 9 | 412ms | 5508kb | Incorect | 0 |
| 10 | 348ms | 6912kb | Incorect | 0 |
| Punctaj total | 10 |