Problem | card |
---|---|
User | Username101 |
Submission Time | 2025-08-16 16:58:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
card.cpp: In function ‘int main()’:
card.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> m >> k;
| ^~~
card.cpp:7:2: error: ‘vector’ was not declared in this scope
7 | vector<int>a;
| ^~~~~~
card.cpp:7:9: error: expected primary-expression before ‘int’
7 | vector<int>a;
| ^~~
card.cpp:9:3: error: ‘a’ was not declared in this scope
9 | a.push_back(i);
| ^
card.cpp:11:2: error: ‘string’ was not declared in this scope
11 | string sequence;
| ^~~~~~
card.cpp:12:9: error: ‘sequence’ was not declared in this scope
12 | cin >> sequence;
| ^~~~~~~~
card.cpp:14:4: error: expected primary-expression before ‘if’
14 | (if sequence[i] == 'A') {
| ^~
card.cpp:14:4: error: expect