Submission #966011

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