# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
16562 | tncks0121 | Scales (IOI15_scales) | C++14 | 0 ms | 1120 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.
#ifndef __SCALES_H__
#define __SCALES_H__
#ifdef __cplusplus
extern "C" {
#endif
void init(int T);
void orderCoins();
void answer(int W[]);
int getMedian(int A, int B, int C, int D = 0);
int getHeaviest(int A, int B, int C, int D = 0);
int getLightest(int A, int B, int C, int D = 0);
int getNextLightest(int A, int B, int C, int D);
#ifdef __cplusplus
}
#endif
#endif /* __SCALES_H__ */
int P[]={1,2,3,4,5,6};
void orderCoins() { getMedian(1, 2, 3);answer(P); }
void init(int T) { }
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |