Pagini recente » Cod sursa (job #987446) | Cod sursa (job #404002) | Cod sursa (job #1163762) | Cod sursa (job #1899554) | Borderou de evaluare (job #2036521)
Borderou de evaluare (job #2036521)
Raport evaluator
Compilare:
user.cpp: In member function ‘int Treapuri::random()’:
user.cpp:32:29: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
return ((rand()<<14 + rand())%MOD + MOD)%MOD + 1;
^
user.cpp: In function ‘void sterge(int)’:
user.cpp:158:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < trebuie_stergere.size(); ++ i){
^
user.cpp: In function ‘void solve(int)’:
user.cpp:177:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = d; i < gr[node].size(); ++ i){
^
user.cpp:192:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < gr[node].size(); ++ i){
^
user.cpp:199:65: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(heaviest == -1) for(int i = 0; i < statii[node].size(); ++ i){ Tr->add(Tr->root[node], statii[node][i]); ++heavy[node];}
^
user.cpp:203:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < gr[node].size(); ++ i){
^
user.cpp:210:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < statii[node].size(); ++ i){
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 5948kb | Incorect | 0 |
| 2 | 8ms | 5944kb | Incorect | 0 |
| 3 | 36ms | 6424kb | Incorect | 0 |
| 4 | 36ms | 6684kb | Incorect | 0 |
| 5 | 160ms | 10240kb | Incorect | 0 |
| 6 | 172ms | 10252kb | Incorect | 0 |
| 7 | 228ms | 10584kb | Incorect | 0 |
| 8 | 940ms | 21456kb | Incorect | 0 |
| 9 | 748ms | 9940kb | Incorect | 0 |
| 10 | 804ms | 15452kb | Incorect | 0 |
| 11 | 1000ms | 15756kb | Incorect | 0 |
| 12 | 1080ms | 19968kb | Incorect | 0 |
| 13 | 1336ms | 24196kb | Incorect | 0 |
| 14 | 1384ms | 38260kb | Incorect | 0 |
| 15 | 3980ms | 120928kb | Incorect | 0 |
| 16 | 2488ms | 30644kb | Incorect | 0 |
| 17 | 2504ms | 30744kb | Incorect | 0 |
| 18 | 2308ms | 33928kb | Incorect | 0 |
| 19 | 2808ms | 36088kb | Incorect | 0 |
| 20 | 3916ms | 120952kb | Incorect | 0 |
| Punctaj total | 0 |