# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1147983 | alexdd | Scales (IOI15_scales) | C++20 | 0 ms | 320 KiB |
#include "scales.h"
#include<bits/stdc++.h>
using namespace std;
void init(int T)
{
}
vector<int> scoate(vector<int> v, int val)
{
vector<int> newv;
for(int x:v)
if(x!=val)
newv.push_back(x);
return newv;
}
void pune(int newsol[], int sol[], int poz)
{
for(int i=0;i<6;i++)
{
newsol[i] = sol[poz];
poz++;
if(poz==6) poz=0;
}
}
void orderCoins()
{
int sol[6],newsol[6];
vector<int> ramase = {1,2,3,4,5,6};
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |