Submission #966014

# Submission time Handle Problem Language Result Execution time Memory
966014 2024-04-19T09:33:25 Z JungPS Best Place (NOI17_bestplace) C++14
0 / 100
18 ms 1116 KB
#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];
    int ans;
    if(n==2){
        ans=abs(x[1]-x[0])+abs(y[1]-y[0]);
        cout << ans;
        return 0;
    }
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Unexpected end of file - int64 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB Unexpected end of file - int64 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 11 ms 1116 KB Unexpected end of file - int64 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Unexpected end of file - int64 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB Unexpected end of file - int64 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 18 ms 1116 KB Unexpected end of file - int64 expected
2 Halted 0 ms 0 KB -