Problem guanine
User TheFelixKS
Submission Time 2024-03-06 20:24:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:15:12: error: switch quantity not an integer
15 | switch (s)
| ^
guanine.cpp:23:10: error: redeclaration of ‘char c’
23 | char c;cin>>c;
| ^
guanine.cpp:18:10: note: ‘char c’ previously declared here
18 | char c;cin>>c;
| ^
guanine.cpp:32:9: error: redeclaration of ‘int i’
32 | int i;cin>>i;
| ^
guanine.cpp:28:9: note: ‘int i’ previously declared here
28 | int i;cin>>i;
| ^
guanine.cpp:36:9: error: redeclaration of ‘int i’
36 | int i;cin>>i;
| ^
guanine.cpp:28:9: note: ‘int i’ previously declared here
28 | int i;cin>>i;
| ^