Problem competition
User Red123
Submission Time 2026-08-14 14:02:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int main()’:
competition.cpp:8:23: error: template argument 1 is invalid
8 | vector<pair<int,int> pagong;
| ^~~~~~
competition.cpp:8:23: error: template argument 2 is invalid
competition.cpp:10:10: error: ‘pagong’ was not declared in this scope
10 | cin >> pagong[i].first;
| ^~~~~~
competition.cpp:13:10: error: ‘pagong’ was not declared in this scope
13 | cin >> pagong[i].second;
| ^~~~~~
competition.cpp:15:7: error: ‘pagong’ was not declared in this scope
15 | sort(pagong.begin(), pagong.end(), greater<int>());
| ^~~~~~