Pagini recente » Borderou de evaluare (job #182866) | Borderou de evaluare (job #2839258) | Borderou de evaluare (job #1519405) | Borderou de evaluare (job #2065758) | Borderou de evaluare (job #2022807)
Borderou de evaluare (job #2022807)
Raport evaluator
Compilare:
user.cpp: In constructor ‘arbint::arbint(int)’:
user.cpp:20:31: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
arb = new int[1 << lg + 1];
^
user.cpp: In member function ‘void lant::UpdateAll()’:
user.cpp:78:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < noduri.size(); ++i)
^
user.cpp: In member function ‘void arbore::BuildPath()’:
user.cpp:117:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < lanturi.size(); ++i)
^
user.cpp: In member function ‘void arbore::DFS(int, int)’:
user.cpp:193:37: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lantNr[current] = lantNr[ind];
^
user.cpp:193:37: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp: In member function ‘void arbore::BuildPath()’:
user.cpp:193:37: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:182:27: note: ‘ind’ was declared here
int maxHeavy = 0, ind;
^
user.cpp:193:37: warning: ‘ind’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lantNr[current] = lantNr[ind];
^
user.cpp:182:27: note: ‘ind’ was declared here
int maxHeavy = 0, ind;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 472kb | OK | 5 | 10 |
2 | 0ms | 476kb | OK | 5 |
3 | 8ms | 648kb | OK | 5 | 10 |
4 | 16ms | 816kb | OK | 5 |
5 | 272ms | 5984kb | OK | 5 | 20 |
6 | 200ms | 4480kb | OK | 5 |
7 | 280ms | 5684kb | OK | 5 |
8 | 204ms | 4480kb | OK | 5 |
9 | 504ms | 11580kb | OK | 5 | 20 |
10 | 296ms | 8712kb | OK | 5 |
11 | 520ms | 11192kb | OK | 5 |
12 | 272ms | 8712kb | OK | 5 |
13 | Depăşit | 14720kb | Time limit exceeded. | 0 | 0 |
14 | 528ms | 11608kb | OK | 5 |
15 | Depăşit | 15120kb | Time limit exceeded. | 0 |
16 | 544ms | 11608kb | OK | 5 |
17 | 148ms | Depăşit | Memory limit exceeded. | 0 | 0 |
18 | 600ms | 14512kb | OK | 5 |
19 | 148ms | Depăşit | Memory limit exceeded. | 0 |
20 | Depăşit | 14600kb | Time limit exceeded. | 0 |
Punctaj total | 60 |