Pagini recente » Borderou de evaluare (job #2699249) | Borderou de evaluare (job #3268991) | Borderou de evaluare (job #2945750) | Borderou de evaluare (job #871873) | Borderou de evaluare (job #1928288)
Borderou de evaluare (job #1928288)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(in, "%d", &n);
^
user.cpp:28:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(out, "%d", res);
^
user.cpp:13:6: warning: unused variable ‘b’ [-Wunused-variable]
int b=0;
^
user.cpp:14:6: warning: unused variable ‘cn’ [-Wunused-variable]
int cn=n;
^
user.cpp:12:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 272kb | OK | 10 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 360kb | Incorect | 0 |
| 7 | 0ms | 412kb | Incorect | 0 |
| 8 | 4ms | 596kb | Incorect | 0 |
| 9 | 8ms | 904kb | Incorect | 0 |
| 10 | 12ms | 1232kb | Incorect | 0 |
| Punctaj total | 50 |