0_0_39435322_667.cpp: In function 'void solve()':
0_0_39435322_667.cpp:7:20: error: expected ')' before ';' token
7 | while (cin >> n;) {
| ~ ^
| )
0_0_39435322_667.cpp:7:21: error: expected primary-expression before ')' token
7 | while (cin >> n;) {
| ^
|