Problem peanamis
User bonkbonkbonk
Submission Time 2026-11-27 11:49:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peanamis.cpp: In function ‘int32_t main()’:
peanamis.cpp:27:7: error: request for member ‘push_back’ in ‘a’, which is of non-class type ‘long long int’
27 | a.push_back(c);
| ^~~~~~~~~
peanamis.cpp:39:11: error: request for member ‘empty’ in ‘a’, which is of non-class type ‘long long int’
39 | if (a.empty() == true and b.empty()==true){
| ^~~~~
peanamis.cpp:43:15: error: request for member ‘front’ in ‘a’, which is of non-class type ‘long long int’
43 | int n = a.front();
| ^~~~~
peanamis.cpp:47:8: error: request for member ‘pop_front’ in ‘a’, which is of non-class type ‘long long int’
47 | a.pop_front();
| ^~~~~~~~~
peanamis.cpp:52:16: error: request for member ‘empty’ in ‘m’, which is of non-class type ‘long long int’
52 | else if (m.empty()=true) {
| ^~~~~
peanamis.cpp:53:8: error: request for member ‘pop_front’ in ‘a’,