Problem weddingcoins
User Kishan
Submission Time 2023-06-15 12:03:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:6:2: error: expected initializer before ‘long’
6 | long long coins = 0;
| ^~~~
weddingcoins.cpp:7:9: error: ‘N’ was not declared in this scope
7 | cin >> N;
| ^
weddingcoins.cpp:9:6: error: ‘coins’ was not declared in this scope; did you mean ‘cos’?
9 | coins += N / 1000000;
| ^~~~~
| cos
weddingcoins.cpp:13:6: error: ‘coins’ was not declared in this scope; did you mean ‘cos’?
13 | coins += N / 500000;
| ^~~~~
| cos
weddingcoins.cpp:17:6: error: ‘coins’ was not declared in this scope; did you mean ‘cos’?
17 | coins += N / 100000;
| ^~~~~
| cos
weddingcoins.cpp:21:6: error: ‘coins’ was not declared in this scope; did you mean ‘cos’?
21 | coins += N / 50000;
| ^~~~~
| cos
weddingcoins.cpp:25:6: error: ‘co