Submission #759873

# Submission time Handle Problem Language Result Execution time Memory
759873 2023-06-17T01:37:27 Z 1075508020060209tc Hamburg Steak (JOI20_hamburg) C++14
2 / 100
220 ms 14280 KB
#include<bits/stdc++.h>
using namespace std;
#define int long long
int n;int K;
pair<int,int>ar[200005];
pair<int,int>br[200005];
signed main(){
cin>>n>>K;
int x=-1e12;int y=-1e12;
for(int i=1;i<=n;i++){
    cin>>ar[i].first>>ar[i].second>>br[i].first>>br[i].second;
    x=max(x,ar[i].first);
    y=max(y,ar[i].second);
}
cout<<x<<" "<<y<<endl;

}
# Verdict Execution time Memory Grader output
1 Correct 3 ms 340 KB Output is correct
2 Correct 3 ms 340 KB Output is correct
3 Correct 3 ms 340 KB Output is correct
4 Correct 3 ms 340 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 340 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 428 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 340 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 340 KB Output is correct
2 Correct 3 ms 340 KB Output is correct
3 Correct 3 ms 340 KB Output is correct
4 Correct 3 ms 340 KB Output is correct
5 Correct 217 ms 14196 KB Output is correct
6 Correct 220 ms 14264 KB Output is correct
7 Correct 217 ms 14224 KB Output is correct
8 Correct 218 ms 14280 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 340 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 428 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 340 KB Unexpected end of file - int32 expected
2 Halted 0 ms 0 KB -