# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
744005 | 2023-05-18T07:09:22 Z | jamezzz | Izvanzemaljci (COI21_izvanzemaljci) | C++17 | 1 ms | 316 KB |
#include <bits/stdc++.h> using namespace std; #ifdef DEBUG #define dbg(...) printf(__VA_ARGS__); #else #define dbg(...) #endif #define sf scanf #define pf printf #define fi first #define se second #define pb push_back #define sz(x) (int)x.size() #define all(x) x.begin(),x.end() #define INF 1023456789 typedef long long ll; typedef pair<int,int> ii; #define maxn 300005 int n,k; int main(){ sf("%d%d",&n,&k); if(k==1){ int mnx=INF,mny=INF,mxx=-INF,mxy=-INF; for(int i=0;i<n;++i){ int x,y;sf("%d%d",&x,&y); mnx=min(mnx,x); mxx=max(mxx,x); mny=min(mny,y); mxy=max(mxy,y); } pf("%d %d %d\n",mnx,mny,max(mxx-mnx,mxy-mny)); } else if(n<=12){ } }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | Integer 0 violates the range [1, 2*10^9] |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | Unexpected end of file - int64 expected |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 212 KB | Unexpected end of file - int64 expected |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 316 KB | Unexpected end of file - int64 expected |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 240 KB | Unexpected end of file - int64 expected |
2 | Halted | 0 ms | 0 KB | - |