# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
471206 | Karabasan | Košnja (COCI17_kosnja) | C++17 | 23 ms | 588 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 forcin for(int i=0;i<n;i++) scanf("%d",&dizi[i]);
#define forcout for(int i=0;i<n;i++) printf("%d ",dizi[i]);
#define ll long long
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
using namespace std;
#pragma GCC optimize("Ofast")
#pragma GCC target("fma,sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,avx2,tune=native")
#pragma GCC optimize("unroll-loops")
int n,t;
int dizi[100005];
int cevap;
int main()
{
scanf("%d",&n);
int xxd=0;
for(int i=0;i<n;i++)
{
int oyyy=31;
int a,b;
scanf("%d%d",&a,&b);
cevap=(min(a,b))*2-2;
for(int j=0;j<100000;j++)
{
oyyy+=2;
}
xxd=oyyy*2-389;
printf("%d\n",cevap);
}
return 0;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |