Pagini recente » Borderou de evaluare (job #1342341) | Borderou de evaluare (job #1342399) | Borderou de evaluare (job #3252893) | Borderou de evaluare (job #143128) | Borderou de evaluare (job #1593616)
Borderou de evaluare (job #1593616)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d\n%d\n",&v,&n);
^
user.cpp:10:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d ", &a[i]);
^
user.cpp:52:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",n);
^
user.cpp:54:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",a[i]);
^
user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arc.in","r",stdin);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arc.out","w",stdout);
^
user.cpp:10:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n",&v,&n);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | OK | 5 |
| 2 | 0ms | 300kb | OK | 5 |
| 3 | 44ms | 296kb | Incorect | 0 |
| 4 | 0ms | 264kb | Incorect | 0 |
| 5 | 0ms | 260kb | OK | 5 |
| 6 | 0ms | 264kb | Incorect | 0 |
| 7 | 0ms | 260kb | Incorect | 0 |
| 8 | 0ms | 264kb | Incorect | 0 |
| 9 | 0ms | 264kb | Incorect | 0 |
| 10 | 0ms | 260kb | Incorect | 0 |
| 11 | 8ms | 292kb | Incorect | 0 |
| 12 | 16ms | 288kb | Incorect | 0 |
| 13 | 8ms | 276kb | Incorect | 0 |
| 14 | 4ms | 296kb | Incorect | 0 |
| 15 | 24ms | 300kb | Incorect | 0 |
| 16 | 0ms | 268kb | Incorect | 0 |
| 17 | 4ms | 296kb | Incorect | 0 |
| 18 | 48ms | 292kb | Incorect | 0 |
| 19 | 0ms | 260kb | OK | 5 |
| 20 | 0ms | 264kb | OK | 5 |
| Punctaj total | 25 |