# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
576586 | Yazan_SA | Exam (eJOI20_exam) | C++14 | 2 ms | 1060 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
#define ll long long
#define endl "\n"
#define start cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);
using namespace std;
int main()
{
start
//freopen("survive.in", "r", stdin);
int t=1;
//cin>>t;
while(t--)
{
int n, arr[100000], arrb[100000];
cin>>n;
int ans=0;
for(int i=0; i<n; cin>>arr[i++]);
for(int i=0; i<n; cin>>arrb[i++]);
for(int i=0; i<n; i++)
{
int mn=1e9;
bool is=1;
if(arr[i]>arrb[i])
break;
if(arr[i]==arrb[i])
is=0;
for(int j=0; j<n&&is; j++)
{
if(i==j)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |