Problem | card |
---|---|
User | joshua2152 |
Submission Time | 2023-04-20 16:43:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp:4:12: error: variable or field ‘check’ declared void
4 | void check(dm;long long cseq;){
| ^~
card.cpp:4:12: error: ‘dm’ was not declared in this scope; did you mean ‘tm’?
4 | void check(dm;long long cseq;){
| ^~
| tm
card.cpp:4:30: error: expected unqualified-id before ‘)’ token
4 | void check(dm;long long cseq;){
| ^
card.cpp: In function ‘int main()’:
card.cpp:24:53: error: invalid types ‘<unresolved overloaded function type>[long long int]’ for array subscript
24 | for (long long i = 0; i < m; i++) dm.push_back[i];
| ^
card.cpp:25:35: error: request for member ‘size’ in ‘seq’, which is of non-class type ‘long long int’
25 | for (long long j = 0; j < seq.size() - 1; j++) dseq.push_back(seq[j]);
| ^~~~
card