Problem card
User Teeskit
Submission Time 2025-11-12 10:13:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:10:11: error: ‘class std::vector<long long int>’ has no member named ‘pushback’; did you mean ‘push_back’?
10 | u.pushback(i)
| ^~~~~~~~
| push_back
card.cpp:14:10: error: ‘i’ was not declared in this scope
14 | for (i in sequence; i ++) {
| ^
card.cpp:14:29: error: expected ‘;’ before ‘)’ token
14 | for (i in sequence; i ++) {
| ^
| ;
card.cpp:15:12: error: expected ‘(’ before ‘i’
15 | if i == "A" {
| ^
| (
card.cpp:19:9: error: ‘else’ without a previous ‘if’
19 | else if i == "B" {
| ^~~~
card.cpp:19:17: error: expected ‘(’ before ‘i’
19 | else if i == "B" {
| ^
| (
card.cpp:23:9: error: ‘else’ without a p