Submission #921086

#TimeUsernameProblemLanguageResultExecution timeMemory
921086AnasAAFSelf Study (JOI22_ho_t2)C++14
10 / 100
53 ms11536 KiB
#include<bits/stdc++.h> using namespace std; #define ll long long #define endl '\n' #define float double int main(){ ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); ll n, m;cin>>n>>m; vector<ll>a(n), b(n); for(int i=0;i<n;i++)cin>>a[i]; for(int i=0;i<n;i++)cin>>b[i]; ll mn = INT_MAX; for(int i=0;i<n;i++){ mn = min(mn, max(a[i], b[i])); } cout<<mn<<endl; 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...