Pagini recente » Borderou de evaluare (job #2139521) | Borderou de evaluare (job #896870) | Borderou de evaluare (job #2966292) | Borderou de evaluare (job #228865) | Borderou de evaluare (job #1255329)
Borderou de evaluare (job #1255329)
Raport evaluator
Compilare:
user.cpp:4:23: warning: integer overflow in expression [-Woverflow]
const int INF=(1<<31)-1;
^
user.cpp: In member function ‘void MinHeap::push(int)’:
user.cpp:22:17: warning: unused variable ‘p’ [-Wunused-variable]
int p=l;
^
user.cpp: In member function ‘void MinHeap::pop()’:
user.cpp:26:18: warning: unused variable ‘f’ [-Wunused-variable]
bool f=true;
^
user.cpp: In member function ‘void MinHeap::downHeap(int)’:
user.cpp:46:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(min(v[p*2],v[p*2+1])<v[p])
^
user.cpp: In function ‘int main()’:
user.cpp:67:36: 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);
^
user.cpp:68:38: 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);
^
user.cpp:69:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 240kb | OK | 5 | 20 |
2 | 0ms | 248kb | OK | 5 |
3 | 0ms | 248kb | OK | 5 |
4 | 0ms | 244kb | OK | 5 |
5 | 0ms | 244kb | OK | 5 | 20 |
6 | 0ms | 252kb | OK | 5 |
7 | 0ms | 248kb | OK | 5 |
8 | 0ms | 248kb | OK | 5 |
9 | 76ms | 636kb | OK | 5 | 20 |
10 | 68ms | 640kb | OK | 5 |
11 | 72ms | 632kb | OK | 5 |
12 | 76ms | 636kb | OK | 5 |
13 | 308ms | 1608kb | OK | 5 | 20 |
14 | 252ms | 1612kb | OK | 5 |
15 | 288ms | 1608kb | OK | 5 |
16 | 272ms | 1612kb | OK | 5 |
17 | 452ms | 2200kb | OK | 5 | 20 |
18 | 376ms | 2196kb | OK | 5 |
19 | 396ms | 2204kb | OK | 5 |
20 | 396ms | 2196kb | OK | 5 |
Punctaj total | 100 |