# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
968723 | APROHACK | 저울 (IOI15_scales) | C++17 | 1 ms | 436 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 <bits/stdc++.h>
#include "scales.h"
using namespace std;
void init(int T) {
/* ... */
}
vector<int> obtener_monedas(set<int>&num){
vector<int>ans;
for(auto i : num){
// i va tomar el valor de cada elemento en el set
ans.push_back(i);
}
return ans;
}
void orderCoins() {
/* ... */
int w[6];
set<int> num = {1,2,3,4,5,6};
int a = getLightest(1,2,3);
int b = getLightest(4,5,6);
int c;
for (int i = 0; i < 3; i++){
if (a != i+1){
c = i+1;
break;
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |