Problem card
User joshua2152
Submission Time 2023-04-20 16:42:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp:4:8: error: variable or field ‘c’ declared void
4 | void c(dm;long long cseq;){
| ^~
card.cpp:4:8: error: ‘dm’ was not declared in this scope; did you mean ‘tm’?
4 | void c(dm;long long cseq;){
| ^~
| tm
card.cpp:4:26: error: expected unqualified-id before ‘)’ token
4 | void c(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.cpp:25:72: error: invalid types ‘