Pagini recente » Borderou de evaluare (job #1957271) | Borderou de evaluare (job #2499359) | Borderou de evaluare (job #157305) | Borderou de evaluare (job #641296) | Borderou de evaluare (job #1268420)
Borderou de evaluare (job #1268420)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%ld",&a[i]);
^
user.cpp:24:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%ld",S);
^
user.cpp:25:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
else fprintf(g,"%ld",S2);
^
user.cpp:13:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:15:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 276kb | Incorect | 0 |
| 3 | 0ms | 272kb | Incorect | 0 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 272kb | Incorect | 0 |
| 6 | 0ms | 276kb | Incorect | 0 |
| 7 | 0ms | 276kb | OK | 10 |
| 8 | 0ms | 276kb | Incorect | 0 |
| 9 | 0ms | 288kb | Incorect | 0 |
| 10 | 0ms | 284kb | OK | 10 |
| Punctaj total | 40 |