Pagini recente » Borderou de evaluare (job #444678) | Borderou de evaluare (job #1999324) | Borderou de evaluare (job #2217053) | Borderou de evaluare (job #1674885) | Borderou de evaluare (job #1672130)
Borderou de evaluare (job #1672130)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:10:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp:24:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",max1);
^
user.cpp:6:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.in","r",stdin);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:26: 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 | 268kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 268kb | OK | 10 |
5 | 36ms | 568kb | OK | 10 |
6 | 36ms | 588kb | OK | 10 |
7 | 36ms | 576kb | OK | 10 |
8 | 32ms | 528kb | OK | 10 |
9 | 48ms | 652kb | OK | 10 |
10 | 44ms | 652kb | Incorect | 0 |
Punctaj total | 90 |