Problem | arrayfind |
---|---|
User | PlayVoltz |
Submission Time | 2023-07-07 15:31:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘std::pair<int, int> check_count(int)’:
arrayfind.cpp:13:8: error: expected ‘(’ before ‘true’
13 | while true{
| ^~~~
| (
arrayfind.cpp:13:12: error: expected ‘)’ before ‘{’ token
13 | while true{
| ~~~~^
| )
arrayfind.cpp:37:9: error: expected primary-expression before ‘<’ token
37 | return <small, num>
| ^
arrayfind.cpp:39:1: error: expected primary-expression before ‘}’ token
39 | }
| ^
arrayfind.cpp:37:21: error: expected ‘;’ before ‘}’ token
37 | return <small, num>
| ^
| ;
38 |
39 | }
| ~