Problem card
User SMJ360
Submission Time 2024-06-18 16:07:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp:4:19: error: expected primary-expression before ‘int’
4 | int shuffle(int L[int n], char m) {
| ^~~
card.cpp:4:19: error: expected ‘]’ before ‘int’
4 | int shuffle(int L[int n], char m) {
| ^~~
| ]
card.cpp:4:19: error: expected ‘)’ before ‘int’
4 | int shuffle(int L[int n], char m) {
| ~ ^~~
| )
card.cpp:4:19: error: expected initializer before ‘int’
4 | int shuffle(int L[int 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’,