# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
268587 | A02 | Scales (IOI15_scales) | C++14 | 0 ms | 0 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 "scales.h"
#include <vector>
#include <set>
#include <algorithm>
#include <utility>
using namespace std;
void init(int T) {
/* ... */
}
void orderCoins() {
/* ... */
int W[] = {1, 2, 3, 4, 5, 6};
int l1 = getLightest(1, 2, 3);
int l2 = getLightest(4, 5, 6);
int s = 1;
if (1 == l1){
s = 2;
}
int l = getLightest(l1, l2, s);
vector<int> remaining;
for (int i = 1; i <= 6; i++){
if (i != l){
remaining.push_back(i);
}
}