Problem | card |
---|---|
User | SMJ360 |
Submission Time | 2024-06-18 16:06:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp:4:19: error: ‘n’ was not declared in this scope
4 | int shuffle(int L[n], char m) {
| ^
card.cpp:4:21: error: expected ‘)’ before ‘,’ token
4 | int shuffle(int L[n], char m) {
| ~ ^
| )
card.cpp:4:23: error: expected unqualified-id before ‘char’
4 | int shuffle(int L[n], char m) {
| ^~~~
card.cpp: In function ‘int main()’:
card.cpp:25:11: error: invalid conversion from ‘const char*’ to ‘char’ [-fpermissive]
25 | char h = ""
| ^~
| |
| const char*
card.cpp:26:2: error: expected ‘,’ or ‘;’ before ‘cin’
26 | cin >> m;
| ^~~
card.cpp:30:11: error: request for member ‘size’ in ‘h’, which is of non-class type ‘char’
30 | char H[h.size]
| ^~~~
card.cpp:31:2: error: expected initializer before ‘for’
31 | for (int