| Problem | notduckhunt |
|---|---|
| User | YSH2020 |
| Submission Time | 2026-05-16 20:58:53 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
notduckhunt.cpp: In function ‘void solve()’:
notduckhunt.cpp:122:42: error: invalid use of non-static member function ‘int MedianHeap::median()’
122 | answer = max(answer, median_heap.median);
| ~~~~~~~~~~~~^~~~~~
notduckhunt.cpp:57:16: note: declared here
57 | inline int median() {
| ^~~~~~
notduckhunt.cpp:128:46: error: invalid use of non-static member function ‘int MedianHeap::median()’
128 | answer = max(answer, median_heap.median);
| ~~~~~~~~~~~~^~~~~~
notduckhunt.cpp:57:16: note: declared here
57 | inline int median() {
| ^~~~~~