Problem island
User LimCheeHann
Submission Time 2025-02-24 23:17:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

island.cpp: In function ‘int main()’:
island.cpp:17:51: error: expected ‘;’ before ‘output’
17 | instances = count(roads.begin(),roads.end(),i)-1
| ^
| ;
18 | output.push_back(instances);
| ~~~~~~