Problem | hieroglyphs_ioi24 |
---|---|
User | bribritt |
Submission Time | 2024-12-05 14:57:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
hieroglyphs_ioi24.cpp: In function ‘std::vector<int> ucs(std::vector<int>, std::vector<int>)’:
hieroglyphs_ioi24.cpp:6:2: error: ‘fill’ was not declared in this scope; did you mean ‘std::fill’?
6 | fill(cnt,cnt+200005,0);
| ^~~~
| std::fill
In file included from /usr/include/c++/9/vector:68,
from hieroglyphs_ioi24.h:1,
from hieroglyphs_ioi24.cpp:1:
/usr/include/c++/9/bits/stl_bvector.h:411:3: note: ‘std::fill’ declared here
411 | fill(_Bit_iterator __first, _Bit_iterator __last, const bool& __x)
| ^~~~
hieroglyphs_ioi24.cpp:9:10: error: ‘max_element’ was not declared in this scope
9 | assert(*max_element(cnt,cnt+200005)<=3);
| ^~~~~~~~~~~
hieroglyphs_ioi24.cpp:9:2: error: ‘assert’ was not declared in this scope
9 | assert(*max_element(cnt,cnt+200005)<=3);
| ^~~~~~
hieroglyphs_ioi24.cpp:2:1: note: ‘assert’ is defined