0_0_36587456_30877.cpp: In function 'int main()':
0_0_36587456_30877.cpp:25:35: error: expected primary-expression before '<' token
sort(roads, roads+n, cmp);<span style="white-space:pre"> </span>//以强盗数降序sort
^
0_0_36587456_30877.cpp:25:36: error: 'span' was not declared in this scope
sort(roads, roads+n, cmp);<span style="white-space:pre"> </span>//以强盗数降序sort
^
0_0_36587456_30877.cpp:26:22: error: 'i' was not declared in this scope
for(int i=0; i<n; i++)<span style="white-space:pre"> </span>//贪心
^
|