Problem peanamis
User bonkbonkbonk
Submission Time 2026-11-27 12:05:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peanamis.cpp: In function ‘int32_t main()’:
peanamis.cpp:24:19: error: request for member ‘push’ in ‘a’, which is of non-class type ‘long long int’
24 | a.push(c);
| ^~~~
peanamis.cpp:34:23: error: request for member ‘empty’ in ‘a’, which is of non-class type ‘long long int’
34 | if (a.empty() == 1 and b.empty() == 0) {
| ^~~~~
peanamis.cpp:38:27: error: request for member ‘front’ in ‘a’, which is of non-class type ‘long long int’
38 | int n = a.front();
| ^~~~~
peanamis.cpp:42:23: error: request for member ‘pop’ in ‘a’, which is of non-class type ‘long long int’
42 | a.pop();
| ^~~
peanamis.cpp:46:23: error: request for member ‘pop’ in ‘a’, which is of non-class type ‘long long int’
46 | a.pop();
| ^~~