Pagini recente » Borderou de evaluare (job #992977) | Borderou de evaluare (job #2155493) | Borderou de evaluare (job #1730935) | Borderou de evaluare (job #2568862) | Borderou de evaluare (job #1496444)
Borderou de evaluare (job #1496444)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:123: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:124: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:125:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:126: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 rev(int, int)’:
user.cpp:11:19: warning: ‘pos1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int mij = (dr - st + 1)>>1;
^
user.cpp:65:13: note: ‘pos1’ was declared here
int pos1;
^
user.cpp:11:30: warning: ‘pos1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int mij = (dr - st + 1)>>1;
^
user.cpp:49:13: note: ‘pos1’ was declared here
int pos1;
^
user.cpp:11:19: warning: ‘pos2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int mij = (dr - st + 1)>>1;
^
user.cpp:26:19: note: ‘pos2’ was declared here
int pos1, pos2;
^
user.cpp:26:13: warning: ‘pos1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int pos1, pos2;
^
user.cpp: In function ‘void sortare(int, int)’:
user.cpp:118:22: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sortare(poz+1, dr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 396kb | Time limit exceeded. | 0 |
2 | Depăşit | 392kb | Time limit exceeded. | 0 |
3 | Depăşit | 392kb | Time limit exceeded. | 0 |
4 | Depăşit | 396kb | Time limit exceeded. | 0 |
5 | Depăşit | 396kb | Time limit exceeded. | 0 |
6 | Depăşit | 392kb | Time limit exceeded. | 0 |
7 | Depăşit | 396kb | Time limit exceeded. | 0 |
8 | Depăşit | 388kb | Time limit exceeded. | 0 |
9 | Depăşit | 392kb | Time limit exceeded. | 0 |
10 | Depăşit | 396kb | Time limit exceeded. | 0 |
11 | Depăşit | 392kb | Time limit exceeded. | 0 |
12 | Depăşit | 392kb | Time limit exceeded. | 0 |
13 | Depăşit | 392kb | Time limit exceeded. | 0 |
14 | Depăşit | 392kb | Time limit exceeded. | 0 |
15 | Depăşit | 396kb | Time limit exceeded. | 0 |
16 | Depăşit | 392kb | Time limit exceeded. | 0 |
17 | Depăşit | 392kb | Time limit exceeded. | 0 |
18 | Depăşit | 392kb | Time limit exceeded. | 0 |
19 | Depăşit | 388kb | Time limit exceeded. | 0 |
20 | Depăşit | 388kb | Time limit exceeded. | 0 |
Punctaj total | 0 |