Pagini recente » Cod sursa (job #443063) | Cod sursa (job #2245713) | Cod sursa (job #23865) | Cod sursa (job #734075) | Borderou de evaluare (job #1593669)
Borderou de evaluare (job #1593669)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",n);
^
user.cpp:55: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:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%ld\n",&v,&n);
^
user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 5 |
2 | 0ms | 300kb | OK | 5 |
3 | 44ms | 300kb | Incorect | 0 |
4 | 0ms | 256kb | Incorect | 0 |
5 | 0ms | 260kb | OK | 5 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 260kb | Incorect | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 268kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
11 | 8ms | 296kb | Incorect | 0 |
12 | 16ms | 292kb | Incorect | 0 |
13 | 8ms | 276kb | Incorect | 0 |
14 | 4ms | 300kb | Incorect | 0 |
15 | 24ms | 296kb | Incorect | 0 |
16 | 0ms | 260kb | Incorect | 0 |
17 | 4ms | 292kb | Incorect | 0 |
18 | 48ms | 296kb | Incorect | 0 |
19 | 0ms | 264kb | OK | 5 |
20 | 0ms | 268kb | OK | 5 |
Punctaj total | 25 |