Pagini recente » Borderou de evaluare (job #2164220) | Borderou de evaluare (job #2888643) | Borderou de evaluare (job #3036115) | Borderou de evaluare (job #1492329) | Borderou de evaluare (job #1542463)
Borderou de evaluare (job #1542463)
Raport evaluator
Compilare:
user.cpp: In function ‘void unite(int, int)’:
user.cpp:21:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(ta!=tb)
^
user.cpp: In function ‘int find(int)’:
user.cpp:16:12: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return i;
^
user.cpp: In function ‘void unite(int, int)’:
user.cpp:22:25: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(rang[ta]<rang[tb])
^
user.cpp:22:16: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(rang[ta]<rang[tb])
^
user.cpp: In function ‘int main()’:
user.cpp:44:13: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(find(a)==find(b))
^
user.cpp:44:13: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 428kb | OK | 10 | 10 |
2 | 0ms | 436kb | OK | 10 | 10 |
3 | 0ms | 444kb | OK | 10 | 10 |
4 | 0ms | 444kb | OK | 10 | 10 |
5 | 4ms | 448kb | OK | 10 | 30 |
6 | 72ms | 636kb | OK | 10 |
7 | 72ms | 636kb | OK | 10 |
8 | 84ms | 984kb | OK | 10 | 10 |
9 | 40ms | 748kb | OK | 10 | 10 |
10 | 84ms | 1216kb | OK | 10 | 10 |
Punctaj total | 100 |