Problem guanine
User tdb60
Submission Time 2023-11-20 10:01:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:14:32: error: ‘b’ was not declared in this scope
14 | if (a == "ADD_BACK" || b == "ADD_FRONT" || b == "SNIP_BACK" || a == "SNIP_FRONT") {
| ^
guanine.cpp:15:18: error: redeclaration of ‘char b’
15 | char b;
| ^
guanine.cpp:14:32: note: ‘<typeprefixerror>b’ previously declared here
14 | if (a == "ADD_BACK" || b == "ADD_FRONT" || b == "SNIP_BACK" || a == "SNIP_FRONT") {
| ^