Problem competition
User j0ashhh
Submission Time 2025-11-11 15:50:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp:2:7: error: expected nested-name-specifier before ‘namespcae’
2 | using namespcae std;
| ^~~~~~~~~
competition.cpp:3:11: error: ‘pair’ was not declared in this scope; did you mean ‘std::pair’?
3 | bool comp(pair<int, int> a, pair<int, int> b){
| ^~~~
| std::pair
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from competition.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:208:12: note: ‘std::pair’ declared here
208 | struct pair
| ^~~~
competition.cpp:3:16: error: expected primary-expression before ‘int’
3 | bool comp(pair<int, int> a, pair<int, int> b){
| ^~~
competition.cpp:3:21: