# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1140016 | brover29 | Bulldozer (JOI17_bulldozer) | C++20 | 0 ms | 328 KiB |
#include <bits/stdc++.h>
//qwerty47924692
using namespace std;
using ll = long long;
const ll N=2e5+29;
const string br="617283";
#define sz(a)(ll)a.size()
#define f first
#define s second
ll n,x[N],y[N],w[N],timer,pref[N];
set<ll>s;
map<ll,ll>mp;
int main(){
ios_base::sync_with_stdio(0);
cin.tie(0);
cin>>n;
for(ll i=1;i<=n;i++){
cin>>x[i]>>y[i]>>w[i];
}
for(ll i=1;i<=n;i++){
s.insert(x[i]);
}
for(auto i:s){
mp[i]=++timer;
}for(ll i=1;i<=n;i++){
x[i]=mp[x[i]];
}
timer=0;
mp.clear();
# | 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... |