# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
823152 | ALeonidou | Mechanical Doll (IOI18_doll) | C++17 | 1 ms | 212 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 "doll.h"
#include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define INF 1e18
#define ll int
typedef vector <int> vi;
typedef pair <int,int> ii;
#define dbg(x) cout<<#x<<": "<<x<<endl;
#define sz(x) (ll)x.size()
#define pb push_back
void printVct(vi &v){
for (ll i= 0; i<sz(v); i++){
cout<<v[i]<<" ";
}
cout<<endl;
}
void create_circuit(int M, vi a) {
int n = sz(a);
a.pb(0);
// vi c(n+1), x, y;
// for (ll i=0; i<n;i++){
// c[i] = a[i];
// }
// c.back() = 0;
// //printVct(c);
answer(a,vi(),vi());
}
/*
4 4
1 2 3 4
*/
Compilation message (stderr)
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |