Problem binarycoins
User Elwinthenerd
Submission Time 2024-04-26 17:32:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:8:12: error: expected primary-expression before ‘)’ token
8 | for (a<=0;) {
| ^
binarycoins.cpp:8:12: error: expected ‘;’ before ‘)’ token
8 | for (a<=0;) {
| ^
| ;
binarycoins.cpp:9:27: error: lvalue required as left operand of assignment
9 | for (int i=1; i<=a; i*2=i;) {
| ^
binarycoins.cpp:9:28: error: expected ‘)’ before ‘;’ token
9 | for (int i=1; i<=a; i*2=i;) {
| ~ ^
| )
binarycoins.cpp:9:29: error: expected primary-expression before ‘)’ token
9 | for (int i=1; i<=a; i*2=i;) {
| ^