| Problem | swords |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-13 09:57:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
swords.cpp: In function ‘int main()’:
swords.cpp:6:1: error: ‘Int’ was not declared in this scope; did you mean ‘int’?
6 | Int n,a,b;
| ^~~
| int
swords.cpp:7:6: error: ‘n’ was not declared in this scope
7 | cin>>n;
| ^
swords.cpp:8:8: error: expected unqualified-id before ‘<<’ token
8 | vector <<pair<int,int>> pingrei;
| ^~
swords.cpp:10:6: error: ‘a’ was not declared in this scope
10 | cin>>a>>b;
| ^
swords.cpp:10:9: error: ‘b’ was not declared in this scope
10 | cin>>a>>b;
| ^
swords.cpp:11:1: error: ‘pingrei’ was not declared in this scope
11 | pingrei.push_back({a,b})};
| ^~~~~~~
swords.cpp:12:6: error: ‘pingrei’ was not declared in this scope
12 | sort(pingrei.begin(),pingrei.end(),greater<int,int>);
| ^~~~~~~
swords.cpp:12:51: error: wrong number of templ