Borderou de evaluare (job #2329458)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld", &n) ;
^
main.cpp:48:24: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld", v + i) ;
^
main.cpp:52:25: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld ", v[i]) ;
^
main.cpp:43:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.in", "r", stdin) ;
^
main.cpp:44:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("algsort.out", "w", stdout) ;
^
main.cpp:46:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n) ;
^
main.cpp:48:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", v + i) ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 20 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 3ms | 131kb | OK | 5 | 20 |
6 | 3ms | 131kb | OK | 5 |
7 | 3ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 105ms | 1835kb | OK | 5 | 20 |
10 | 75ms | 1835kb | OK | 5 |
11 | 88ms | 1835kb | OK | 5 |
12 | 103ms | 1835kb | OK | 5 |
13 | 302ms | 6160kb | OK | 5 | 20 |
14 | 287ms | 6160kb | OK | 5 |
15 | 277ms | 6160kb | OK | 5 |
16 | 316ms | 6160kb | OK | 5 |
17 | 458ms | 8912kb | OK | 5 | 20 |
18 | 400ms | 8912kb | OK | 5 |
19 | 356ms | 8912kb | OK | 5 |
20 | 485ms | 9043kb | OK | 5 |
Punctaj total | 100 |