Problem swords
User yhmixeI
Submission Time 2025-01-10 16:51:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swords.cpp: In function ‘int main()’:
swords.cpp:12:2: error: ‘p’ was not declared in this scope
12 | p=true;
| ^
swords.cpp:16:3: error: ‘p’ was not declared in this scope
16 | p=false;
| ^
swords.cpp:21:3: error: ‘p’ was not declared in this scope
21 | p=false;
| ^
swords.cpp:27:5: error: ‘p’ was not declared in this scope
27 | if (p){cout<<1;}
| ^