Problem | weddingcoins |
---|---|
User | howdoicode |
Submission Time | 2025-06-30 17:16:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:8:16: error: expected ‘;’ before ‘)’ token
8 | for (cohyn = 0) {
| ^
| ;
weddingcoins.cpp:9:5: error: expected primary-expression before ‘if’
9 | } if (cohyn > 9999) {
| ^~
weddingcoins.cpp:9:4: error: expected ‘;’ before ‘if’
9 | } if (cohyn > 9999) {
| ^~~
| ;
weddingcoins.cpp:9:5: error: expected primary-expression before ‘if’
9 | } if (cohyn > 9999) {
| ^~
weddingcoins.cpp:9:4: error: expected ‘)’ before ‘if’
9 | } if (cohyn > 9999) {
| ^~~
| )
weddingcoins.cpp:8:6: note: to match this ‘(’
8 | for (cohyn = 0) {
| ^
weddingcoins.cpp:13:24: error: expected ‘;’ before ‘{’ token
13 | } else (cohyn > 4999) {
| ^~
| ;
weddingcoins.cpp