Problem cuttingqueue
User yc
Submission Time 2026-06-25 10:42:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cuttingqueue.cpp: In function ‘int main()’:
cuttingqueue.cpp:58:58: error: expected ‘)’ before ‘]’ token
58 | if (n2[n3[j].first]==n3[j].second]) n2[n3[j]].second++;
| ~ ^
| )
cuttingqueue.cpp:58:58: error: expected primary-expression before ‘]’ token