Pagini recente » Borderou de evaluare (job #745588) | Borderou de evaluare (job #2985655) | Borderou de evaluare (job #91582) | Borderou de evaluare (job #207910) | Borderou de evaluare (job #1944748)
Borderou de evaluare (job #1944748)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:42:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < node[nod].v.size(); i ++)
^
user.cpp:60:33: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
else if(!(node[nod].key < node[n[0]].minKey | node[nod].key >= node[n[0]].maxKey))
^
user.cpp: In function ‘int main()’:
user.cpp:75:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treap.in", "r", stdin);
^
user.cpp:76:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:79:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n1, &n2);
^
user.cpp:85:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &node[i].key);
^
user.cpp:87:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &node[i].priority);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 180ms | 6916kb | OK | 5 | 100 |
| 2 | 304ms | 8004kb | OK | 5 |
| 3 | 152ms | 6620kb | OK | 5 |
| 4 | 288ms | 7876kb | OK | 5 |
| 5 | 60ms | 5704kb | OK | 5 |
| 6 | 40ms | 5476kb | OK | 5 |
| 7 | 4ms | 5116kb | OK | 5 |
| 8 | 8ms | 5112kb | OK | 5 |
| 9 | 236ms | 7412kb | OK | 5 |
| 10 | 188ms | 6980kb | OK | 5 |
| 11 | 268ms | 7836kb | OK | 5 |
| 12 | 196ms | 7152kb | OK | 5 |
| 13 | 200ms | 7180kb | OK | 5 |
| 14 | 140ms | 6608kb | OK | 5 |
| 15 | 112ms | 6308kb | OK | 5 |
| 16 | 284ms | 8064kb | OK | 5 |
| 17 | 260ms | 7812kb | OK | 5 |
| 18 | 264ms | 7824kb | OK | 5 |
| 19 | 216ms | 7244kb | OK | 5 |
| 20 | 308ms | 8196kb | OK | 5 |
| Punctaj total | 100 |