Problem cardplacing
User Arjun
Submission Time 2025-12-29 13:07:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cardplacing.cpp: In function ‘int main()’:
cardplacing.cpp:30:5: error: expected initializer before ‘for’
30 | for(int i = 0; i < A; ++i)
| ^~~
cardplacing.cpp:30:20: error: ‘i’ was not declared in this scope
30 | for(int i = 0; i < A; ++i)
| ^
cardplacing.cpp:50:16: error: ‘A_Cards’ was not declared in this scope
50 | if(A_Cards.find(2) == A_Cards.end())
| ^~~~~~~
cardplacing.cpp:59:9: error: ‘elif’ was not declared in this scope
59 | elif(B_card == N)
| ^~~~
cardplacing.cpp:70:9: error: expected ‘}’ before ‘else’
70 | else
| ^~~~
cardplacing.cpp:45:5: note: to match this ‘{’
45 | {
| ^
cardplacing.cpp: At global scope:
cardplacing.cpp:78:5: error: expected unqualified-id before ‘return’
78 | return 0;
| ^~~~~~
cardplacing.cpp:79:1: error: expec