Submission #545345

#TimeUsernameProblemLanguageResultExecution timeMemory
545345Trisanu_DasBest Place (NOI17_bestplace)C++17
Compilation error
0 ms0 KiB
#include <bit/stdc++.h> using namespace std; const int MAXN = 100000; int N, X[MAXN], Y[MAXN]; int main(){ cin >> N; for (int i = 0; i < N; ++i) { cin >> X[i] >> Y[i]; } sort(X, X+N); cout << X[N/2] << " 0" << endl; }

Compilation message (stderr)

bestplace.cpp:1:10: fatal error: bit/stdc++.h: No such file or directory
    1 | #include <bit/stdc++.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.