Problem competition
User LimCheeHann
Submission Time 2026-03-11 21:23:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int main()’:
competition.cpp:11:12: error: expected unqualified-id before ‘>’ token
11 | vector<int>> physics,biology;
| ^~
competition.cpp:17:3: error: ‘physics’ was not declared in this scope
17 | physics.push_back(input);
| ^~~~~~~
competition.cpp:21:3: error: ‘biology’ was not declared in this scope
21 | biology.push_back(input);
| ^~~~~~~
competition.cpp:24:28: error: ‘physics’ was not declared in this scope
24 | diff.push_back(make_pair(physics[i]-biology[i],i));
| ^~~~~~~
competition.cpp:24:39: error: ‘biology’ was not declared in this scope
24 | diff.push_back(make_pair(physics[i]-biology[i],i));
| ^~~~~~~
competition.cpp:28:11: error: ‘physics’ was not declared in this scope
28 | answer+=physics[diff[i].second];
| ^~~~~~~
compe