Pagini recente » Monitorul de evaluare | Monitorul de evaluare | Borderou de evaluare (job #2613357) | Borderou de evaluare (job #1305781) | Borderou de evaluare (job #1788579)
Borderou de evaluare (job #1788579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d%d%d%d", &n, &k, &a, &b);
^
user.cpp:84:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:84:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=]
user.cpp:87:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d", &v[i]);
^
user.cpp:84:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d%d", &n, &k, &a, &b);
^
user.cpp:87:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | N-a mers treaba | 0 |
| 2 | 0ms | 408kb | N-a mers treaba | 0 |
| 3 | 0ms | 408kb | N-a mers treaba | 0 |
| 4 | 0ms | 396kb | N-a mers treaba | 0 |
| 5 | 0ms | 400kb | N-a mers treaba | 0 |
| 6 | 0ms | 404kb | N-a mers treaba | 0 |
| 7 | 0ms | 284kb | N-a mers treaba | 0 |
| 8 | 0ms | 408kb | N-a mers treaba | 0 |
| 9 | 0ms | 344kb | N-a mers treaba | 0 |
| 10 | 0ms | 404kb | N-a mers treaba | 0 |
| Punctaj total | 0 |