Pagini recente » Borderou de evaluare (job #1324835) | Borderou de evaluare (job #1857187) | Borderou de evaluare (job #1067194) | Borderou de evaluare (job #1028808) | Borderou de evaluare (job #1501289)
Borderou de evaluare (job #1501289)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:103:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invsort.in", "r", stdin);
^
user.cpp:104:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("invsort.out", "w", stdout);
^
user.cpp:105:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:106:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i<= n; ++i) scanf("%d", &v[i]);
^
user.cpp: In function ‘void invers(int, int, int)’:
user.cpp:79:33: warning: ‘dr1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i = st1; i<=(st1+dr1)/2; ++i) swap(v[i], v[dr1 - i + st1]);
^
user.cpp:79:33: warning: ‘st1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 72ms | 396kb | OK -> cost = 226194! | 5 |
2 | 72ms | 404kb | OK -> cost = 226109! | 5 |
3 | 96ms | 404kb | OK -> cost = 239104! | 5 |
4 | 96ms | 400kb | OK -> cost = 237760! | 5 |
5 | 88ms | 400kb | OK -> cost = 194792! | 5 |
6 | 84ms | 400kb | OK -> cost = 195671! | 5 |
7 | 92ms | 400kb | OK -> cost = 223844! | 5 |
8 | 92ms | 404kb | OK -> cost = 223646! | 5 |
9 | 92ms | 400kb | OK -> cost = 228632! | 5 |
10 | 92ms | 400kb | OK -> cost = 225864! | 5 |
11 | Depăşit | 400kb | Time limit exceeded. | 0 |
12 | Depăşit | 404kb | Time limit exceeded. | 0 |
13 | Depăşit | 404kb | Time limit exceeded. | 0 |
14 | 248ms | 400kb | Sirul nu este sortat! | 0 |
15 | Depăşit | 400kb | Time limit exceeded. | 0 |
16 | Depăşit | 404kb | Time limit exceeded. | 0 |
17 | 168ms | 396kb | Sirul nu este sortat! | 0 |
18 | 204ms | 396kb | Sirul nu este sortat! | 0 |
19 | 156ms | 404kb | Sirul nu este sortat! | 0 |
20 | 192ms | 404kb | Sirul nu este sortat! | 0 |
Punctaj total | 50 |