Pagini recente » Borderou de evaluare (job #1220085) | Borderou de evaluare (job #1194195) | Borderou de evaluare (job #1285123) | Borderou de evaluare (job #2559969) | Borderou de evaluare (job #1593651)
Borderou de evaluare (job #1593651)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d\n%ld\n",&v,&n);
^
user.cpp:14:32: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld ", &a[i]);
^
user.cpp:15:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld ", a[i]);
^
user.cpp:56:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",n);
^
user.cpp:58:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long 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:14:33: 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 | 4ms | 344kb | Incorect | 0 |
2 | 4ms | 348kb | Incorect | 0 |
3 | 92ms | 348kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 0ms | 276kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 272kb | Incorect | 0 |
10 | 0ms | 280kb | Incorect | 0 |
11 | 12ms | 344kb | Incorect | 0 |
12 | 32ms | 324kb | Incorect | 0 |
13 | 20ms | 308kb | Incorect | 0 |
14 | 8ms | 340kb | Incorect | 0 |
15 | 48ms | 340kb | Incorect | 0 |
16 | 0ms | 276kb | Incorect | 0 |
17 | 8ms | 348kb | Incorect | 0 |
18 | 104ms | 348kb | Incorect | 0 |
19 | 0ms | 272kb | Incorect | 0 |
20 | 0ms | 276kb | Incorect | 0 |
Punctaj total | 0 |