제출 #1002708

#제출 시각아이디문제언어결과실행 시간메모리
1002708gabistroehIzvanzemaljci (COI21_izvanzemaljci)C++14
0 / 100
1 ms444 KiB
#include<bits/stdc++.h> using namespace std; int inf = 1e9 + 10; int main(){ int n, k; cin >> n >> k; int maxx = 0, maxy = 0, minx = inf, miny = inf; for(int i=0; i<n; i++){ int x, y; cin >> x >> y; minx = min(x, minx); miny = min(y, miny); maxx = max(x, maxx); maxy = max(y, maxy); } int l = max(maxx-minx, maxy-miny); cout << minx << " " << miny << " " << l; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...