Problem guanine
User Dcxz
Submission Time 2026-06-15 15:43:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> N;
| ^~~
guanine.cpp:5:5: error: ‘string’ was not declared in this scope
5 | string DNA = "";
| ^~~~~~
guanine.cpp:8:15: error: expected ‘;’ before ‘operations’
8 | string operations;
| ^~~~~~~~~~~
| ;
guanine.cpp:9:16: error: ‘operations’ was not declared in this scope
9 | cin >> operations;
| ^~~~~~~~~~
guanine.cpp:15:13: error: ‘cout’ was not declared in this scope
15 | cout << DNA[value];
| ^~~~
guanine.cpp:15:21: error: ‘DNA’ was not declared in this scope
15 | cout << DNA[value];
| ^~~
guanine.cpp:21:19: error: expected ‘;’ before ‘temporaryDNA’
21 | string temporaryDNA = "";