Problem | card |
---|---|
User | Yizhou |
Submission Time | 2024-06-01 15:01:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:16:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
16 | if (a[0]=="A"){
| ^~~
card.cpp:20:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
20 | }else if(a[0]=="B"){
| ^~~
card.cpp:21:21: error: expected ‘;’ before ‘arr’
21 | arr[r+1]=arr[l+1]
| ^
| ;
22 | arr[l+1]=arr[l];
| ~~~