Pagini recente » Borderou de evaluare (job #1174311) | Borderou de evaluare (job #2310530) | Borderou de evaluare (job #2492465) | Borderou de evaluare (job #930193) | Borderou de evaluare (job #1593617)
Borderou de evaluare (job #1593617)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d\n%d\n",&v,&n);
^
user.cpp:13:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &a[i]);
^
user.cpp:53:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long 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 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: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:13: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 | 352kb | OK | 5 |
2 | 0ms | 352kb | Incorect | 0 |
3 | 92ms | 344kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 272kb | OK | 5 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 276kb | Incorect | 0 |
10 | 0ms | 276kb | Incorect | 0 |
11 | 12ms | 348kb | Incorect | 0 |
12 | 28ms | 320kb | Incorect | 0 |
13 | 20ms | 308kb | Incorect | 0 |
14 | 4ms | 340kb | Incorect | 0 |
15 | 48ms | 340kb | Incorect | 0 |
16 | 0ms | 284kb | Incorect | 0 |
17 | 4ms | 348kb | Incorect | 0 |
18 | 100ms | 348kb | Incorect | 0 |
19 | 0ms | 280kb | OK | 5 |
20 | 0ms | 284kb | OK | 5 |
Punctaj total | 20 |