Problem swapsort
User friendlyfexr
Submission Time 2026-06-28 21:50:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swapsort.cpp: In function ‘int main()’:
swapsort.cpp:34:26: error: ‘class std::map<int, int>’ has no member named ‘contains’
34 | if (fragIdx.contains(Lj-1)) {
| ^~~~~~~~
swapsort.cpp:37:26: error: ‘class std::map<int, int>’ has no member named ‘contains’
37 | if (fragIdx.contains(Rj-1)) {
| ^~~~~~~~