Pagini recente » Borderou de evaluare (job #1570963) | Borderou de evaluare (job #2636915) | Monitorul de evaluare | Cod sursa (job #3336622) | Borderou de evaluare (job #1571011)
Borderou de evaluare (job #1571011)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:20:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d", &v[i]);
^
user.cpp:42:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d", maxx);
^
user.cpp:16:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:20: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 | 448kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 440kb | OK | 10 |
| 4 | 0ms | 440kb | OK | 10 |
| 5 | 0ms | 440kb | OK | 10 |
| 6 | 4ms | 444kb | OK | 10 |
| 7 | 4ms | 440kb | Incorect | 0 |
| 8 | 4ms | 440kb | Incorect | 0 |
| 9 | 8ms | 444kb | Incorect | 0 |
| 10 | 0ms | 440kb | OK | 10 |
| Punctaj total | 70 |