Pagini recente » Borderou de evaluare (job #2459697) | Borderou de evaluare (job #2205254) | Borderou de evaluare (job #1989258) | Borderou de evaluare (job #41695) | Borderou de evaluare (job #1400056)
Borderou de evaluare (job #1400056)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:22:40: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(i=1;i<=n;i++){scanf("%ld",&a[i]);}
^
user.cpp:31:21: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld",l-1);
^
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lumanari.in","r",stdin);
^
user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lumanari.out","w",stdout);
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:22:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++){scanf("%ld",&a[i]);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | OK | 10 | 10 |
2 | 0ms | 264kb | OK | 10 | 10 |
3 | 0ms | 256kb | OK | 10 | 10 |
4 | 84ms | 1524kb | OK | 10 | 10 |
5 | 104ms | 1792kb | OK | 10 | 10 |
6 | 100ms | 1716kb | OK | 10 | 10 |
7 | 96ms | 1628kb | OK | 10 | 10 |
8 | 96ms | 1644kb | OK | 10 | 30 |
9 | 60ms | 1652kb | OK | 10 |
10 | 68ms | 1620kb | OK | 10 |
Punctaj total | 100 |