Pagini recente » Borderou de evaluare (job #2546186) | Borderou de evaluare (job #2796828) | Borderou de evaluare (job #947042) | Borderou de evaluare (job #2868284) | Borderou de evaluare (job #1193893)
Borderou de evaluare (job #1193893)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&v[i]);
^
user.cpp:43:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld",ans);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avioane.in","r",stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avioane.out","w",stdout);
^
user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:25:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 4ms | 344kb | OK | 10 |
6 | 16ms | 500kb | OK | 10 |
7 | 32ms | 660kb | OK | 10 |
8 | 44ms | 816kb | Incorect | 0 |
9 | 64ms | 1052kb | Incorect | 0 |
10 | 64ms | 1052kb | Incorect | 0 |
Punctaj total | 70 |