| Problem | weddingcoins |
|---|---|
| User | Teeskit |
| Submission Time | 2026-01-22 16:38:53 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:17:11: error: expected ‘(’ before ‘M’
17 | else if M == 5000) {
| ^
| (
weddingcoins.cpp:20:3: error: ‘else’ without a previous ‘if’
20 | else if M == 1000) {
| ^~~~
weddingcoins.cpp:20:11: error: expected ‘(’ before ‘M’
20 | else if M == 1000) {
| ^
| (
weddingcoins.cpp:23:3: error: ‘else’ without a previous ‘if’
23 | else if M == 500) {
| ^~~~
weddingcoins.cpp:23:11: error: expected ‘(’ before ‘M’
23 | else if M == 500) {
| ^
| (
weddingcoins.cpp:26:3: error: ‘else’ without a previous ‘if’
26 | else if M == 100) {
| ^~~~
weddingcoins.cpp:26:11: error: expected ‘(’ before ‘M’
26 | else if M == 100) {
| ^
| (
weddingcoins.cpp:29:3: error: ‘else’ without a previous ‘