Problem weddingcoins
User howdoicode
Submission Time 2025-06-30 17:17:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:8:16: error: expected ‘;’ before ‘)’ token
8 | for (cohyn = 0) {
| ^
| ;
weddingcoins.cpp:64:1: error: expected primary-expression at end of input
64 | }
| ^
weddingcoins.cpp:64:2: error: expected ‘;’ at end of input
64 | }
| ~^
| ;
weddingcoins.cpp:64:1: error: expected primary-expression at end of input
64 | }
| ^
weddingcoins.cpp:64:2: error: expected ‘)’ at end of input
64 | }
| ~^
| )
weddingcoins.cpp:8:6: note: to match this ‘(’
8 | for (cohyn = 0) {
| ^
weddingcoins.cpp:64:1: error: expected statement at end of input
64 | }
| ^
weddingcoins.cpp:64:1: error: expected ‘}’ at end of input
weddingcoins.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^