#include <bits/stdc++.h>
#define ll long long
#define SPEED ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
using namespace std;
int main()
{ SPEED;
ll a,b,c;
cin>>a>>b>>c;
ll A[50001]={0};
ll k;
while(a--)
Read more… (63 words)
#include <bits/stdc++.h>
#define ll long long
#define SPEED ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
using namespace std;
int main()
{ SPEED;
ll a,b,c;
cin>>a>>b>>c;
ll A[50001]={0};
ll k;
while(a--)
#include <bits/stdc++.h>
#define SPEED ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
using namespace std;
int main()
{ SPEED;
int n;
cin>>n;
int a,b,max_a=0,max_b=0,k;
int p1=0,p2=0;
int t=n;
while(t--)