Problem scicomm2
User Pan
Submission Time 2026-08-02 17:57:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

scicomm2.cpp: In function ‘void solve()’:
scicomm2.cpp:64:50: error: expected ‘;’ before ‘now’
64 | if (b[0] < b[i] || (b[i]==b[0] && a[i] > a[0]) now++;
| ^~~~
| ;
scicomm2.cpp:65:4: error: expected primary-expression before ‘continue’
65 | continue;
| ^~~~~~~~
scicomm2.cpp:64:57: error: expected ‘)’ before ‘continue’
64 | if (b[0] < b[i] || (b[i]==b[0] && a[i] > a[0]) now++;
| ~ ^
| )
65 | continue;
| ~~~~~~~~