제출 #966015

#제출 시각아이디문제언어결과실행 시간메모리
966015JungPSBest Place (NOI17_bestplace)C++14
0 / 100
15 ms1112 KiB
#include<iostream> #include<cmath> using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int n; cin >> n; int x[n],y[n]; for(int i=0;i<n;++i) cin >> x[i] >> y[i]; if(n==2){ cout << x[1]-x[0]+y[1]-y[0]; return 0; } }
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...