Problem ponteng
User jatrophalouvre
Submission Time 2024-07-26 16:51:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ponteng.cpp:6:12: error: ‘tuple’ does not name a type; did you mean ‘tmpfile’?
6 | using TIII=tuple<ll, ll, ll>;
| ^~~~~
| tmpfile
ponteng.cpp:12:1: error: ‘vector’ does not name a type
12 | vector<TIII> qry;
| ^~~~~~
ponteng.cpp: In function ‘int main()’:
ponteng.cpp:56:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
56 | cin>>n>>m>>k;
| ^~~
| std::cin
In file included from ponteng.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
ponteng.cpp:66:9: error: ‘qry’ was not declared in this scope
66 | qry.push_back({l, r, i});
| ^~~
ponteng.cpp:68:10: error: ‘qry’ was not declared in this scope
68 | sort(qry.begin(), qry.end(), [](TIII x, TIII y)
|