Submission #1080205

#TimeUsernameProblemLanguageResultExecution timeMemory
1080205Sir_Ahmed_ImranStations (IOI20_stations)C++17
8 / 100
638 ms956 KiB
///~~~LOTA~~~/// //#include "mushrooms.h" #include <bits/stdc++.h> using namespace std; #define ll long long #define ld long double #define append push_back #define add insert #define nl '\n' #define ff first #define ss second #define pii pair<int,int> #define pll pair<ll,ll> #define all(x) (x).begin(),(x).end() #define L0TA ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL) #define terminator main #define N 1000 vector<int> label(int n,int k,vector<int> u,vector<int> v){ vector<int> l; for(int i=0;i<n;i++) l.append(i); return(l); } int find_next_station(int s,int t,vector<int> c){ int n,m; n=t; while(1){ m=(n-1)/2; if(m<=s) break; n=m; } m=(n-1)/2; if(m==s) return n; return (s-1)/2; }
#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...