Pagini recente » Borderou de evaluare (job #2141818) | Borderou de evaluare (job #1884383) | Borderou de evaluare (job #2140412) | Borderou de evaluare (job #1010114) | Borderou de evaluare (job #2816132)
Borderou de evaluare (job #2816132)
Raport evaluator
Compilare:
main.cpp: In function 'void Insert(int)':
main.cpp:28:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
28 | while(st > 1 && (hp[st].first < hp[st>>1].first) || (hp[st].first == hp[st>>1].first && hp[st].second < hp[st>>1].second))
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void Bfs()':
main.cpp:50:13: warning: unused variable 'bruh' [-Wunused-variable]
50 | int bruh = hp[1].first;
| ^~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 184kb | OK | 10 |
| 2 | 6ms | 1236kb | Incorect | 0 |
| 3 | 16ms | 1540kb | Incorect | 0 |
| 4 | 2ms | 184kb | Incorect | 0 |
| 5 | 35ms | 2113kb | Incorect | 0 |
| 6 | 69ms | 2867kb | Incorect | 0 |
| 7 | 6ms | 1298kb | OK | 10 |
| 8 | 15ms | 1540kb | Incorect | 0 |
| 9 | 44ms | 2547kb | Incorect | 0 |
| 10 | 126ms | 4108kb | Incorect | 0 |
| Punctaj total | 20 |