Problem | card |
---|---|
User | Yizhou |
Submission Time | 2024-06-01 15:14:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:16:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
16 | if (a.at(0)=="A"){
| ^~~
card.cpp:20:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
20 | }else if(a.at(0)=="B"){
| ^~~
card.cpp:28:29: error: ‘i’ was not declared in this scope
28 | cout<<arr[l+k-1]<<' '<<arr[i+k]<<' '<<arr[l+k+1];
| ^