Problem guanine
User lixinpei123
Submission Time 2025-06-18 15:41:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:2:12: error: ‘cin’ was not declared in this scope
2 | int x; cin >> x;
| ^~~
guanine.cpp:3:5: error: ‘deque’ was not declared in this scope
3 | deque<string> dna;
| ^~~~~
guanine.cpp:3:11: error: ‘string’ was not declared in this scope
3 | deque<string> dna;
| ^~~~~~
guanine.cpp:3:19: error: ‘dna’ was not declared in this scope
3 | deque<string> dna;
| ^~~
guanine.cpp:5:15: error: expected ‘;’ before ‘command’
5 | string command; cin >> command;
| ^~~~~~~~
| ;
guanine.cpp:5:32: error: ‘command’ was not declared in this scope
5 | string command; cin >> command;
| ^~~~~~~
guanine.cpp:7:19: error: expected ‘;’ before ‘nucleotide’
7 |