Problem bracketex
User CuriousFox
Submission Time 2024-08-14 16:06:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:5:2: error: ‘ll’ was not declared in this scope
5 | ll rep;
| ^~
bracketex.cpp:6:4: error: expected ‘;’ before ‘flag’
6 | ll flag = 0;
| ^~~~~
| ;
bracketex.cpp:7:9: error: ‘rep’ was not declared in this scope
7 | cin >> rep;
| ^~~
bracketex.cpp:11:9: error: expected ‘;’ before ‘i’
11 | for (ll i = 0; i < rep; i++){
| ^~
| ;
bracketex.cpp:11:17: error: ‘i’ was not declared in this scope
11 | for (ll i = 0; i < rep; i++){
| ^
bracketex.cpp:22:5: error: ‘flag’ was not declared in this scope
22 | flag -= 1;
| ^~~~
bracketex.cpp:26:7: error: ‘flag’ was not declared in this scope
26 | if (flag < 0){
| ^~~~