Problem sana
User popperoni
Submission Time 2024-12-30 15:09:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sana.cpp: In function ‘int main()’:
sana.cpp:43:23: error: lvalue required as left operand of assignment
43 | if(cnt[i]==1&&check=0){check=1;check2=1;}
| ^
sana.cpp:44:29: error: lvalue required as left operand of assignment
44 | else if (cnt[i]==2&&check=0)check=1;
| ^
sana.cpp:45:28: error: lvalue required as left operand of assignment
45 | else if (cnt[i]<2&&check=1){
| ^