Pagini recente » Borderou de evaluare (job #1516403) | Borderou de evaluare (job #1271515) | Borderou de evaluare (job #2241834) | Borderou de evaluare (job #2198117) | Borderou de evaluare (job #2114319)
Borderou de evaluare (job #2114319)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:56:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld",t);
^
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("pba.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("pba.out","w",stdout);
^
user.cpp:11:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 288kb | OK | 10 | 100 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 0ms | 364kb | OK | 10 |
7 | 8ms | 480kb | OK | 10 |
8 | 8ms | 584kb | OK | 10 |
9 | 16ms | 672kb | OK | 10 |
10 | 16ms | 672kb | OK | 10 |
Punctaj total | 100 |