Problem simcity
User Hijackedsoul
Submission Time 2024-06-06 20:09:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simcity.cpp: In function ‘int main()’:
simcity.cpp:30:13: error: ‘class std::vector<trio>’ has no member named ‘push’
30 | arr.push({build, i, n});
| ^~~~
simcity.cpp:40:15: error: ‘a’ was not declared in this scope
40 | if (f(a)==f(b)) continue;
| ^
simcity.cpp:40:21: error: ‘b’ was not declared in this scope
40 | if (f(a)==f(b)) continue;
| ^
simcity.cpp:41:13: error: ‘a’ was not declared in this scope
41 | p[f(a)]=f(b);
| ^
simcity.cpp:41:19: error: ‘b’ was not declared in this scope
41 | p[f(a)]=f(b);
| ^