# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
613146 | 2022-07-30T03:39:08 Z | penguinhacker | King of Chairs (FXCUP4_chairs) | C++17 | 71 ms | 6752 KB |
#include "king.h" #include <bits/stdc++.h> using namespace std; long long SendInfo(vector<int> w, vector<int> c) { /*int n=w.size(); sort(w.begin(), w.end()); int lb=0, rb=n; while(lb<rb) { int mid=(lb+rb+1)/2; bool ok=1; for (int i=0; i<mid; ++i) ok&=w[i]<=c[n-mid+i]; if (ok) lb=mid; else rb=mid-1; } return lb;*/ return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 2 ms | 512 KB | Execution failed because the return code was nonzero |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 56 ms | 6684 KB | Execution failed because the return code was nonzero |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 71 ms | 6752 KB | Execution failed because the return code was nonzero |
2 | Halted | 0 ms | 0 KB | - |