Problem toxic2
User dev1634
Submission Time 2025-02-22 08:45:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

toxic2.cpp:9:27: error: expected initializer before ‘-’ token
9 | bool righ = true; int tox - 1 , num = 0;
| ^
toxic2.cpp: In function ‘void determine_type(int)’:
toxic2.cpp:19:17: error: ‘tox’ was not declared in this scope
19 | tox = i + 1;
| ^~~
toxic2.cpp:26:17: error: ‘tox’ was not declared in this scope
26 | tox = i;
| ^~~
toxic2.cpp:39:9: error: ‘tox’ was not declared in this scope
39 | if (tox == -1) {
| ^~~
toxic2.cpp:92:9: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
92 | num = hi + 1;
| ^~~
| enum
toxic2.cpp:94:18: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
94 | for (int i = num; i < ambig.size(); i += 2) {
| ^~~
| enum
toxic2.cpp:96:24: er