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