# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
644097 | badmachine77 | Sum Zero (RMI20_sumzero) | C++17 | 394 ms | 26444 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.
/**
* user: lendvaj-c30
* fname: Dorijan
* lname: Lendvaj
* task: SumZero
* score: 100.0
* date: 2020-12-04 07:54:53.165994
*/
#include <bits/stdc++.h>
#define x first
#define y second
#define pii pair<int,int>
using ll=long long;
#define pll pair<ll,ll>
#define vi vector<int>
#define vl vector<ll>
#define pb push_back
#define eb emplace_back
#define all(a) begin(a),end(a)
using namespace std;
const int N=400010,MOD=1e9+7,LOG=7,B=6;
const char en='\n';
const ll LLINF=1ll<<60;
void compress(vl&v)
{
vl v1=v;
sort(all(v1));
for (auto&a: v) a=lower_bound(all(v1),a)-v1.begin();
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |