Submission #16561

#TimeUsernameProblemLanguageResultExecution timeMemory
16561tncks0121Scales (IOI15_scales)C++14
0 / 100
0 ms1120 KiB
#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__ */ void orderCoins() { getMedian(1, 2, 3); } void init(int T) { }

Compilation message (stderr)

scales.cpp:24:15: warning: unused parameter 'T' [-Wunused-parameter]
 void init(int T) { }
               ^

#Verdict Execution timeMemoryGrader output
Fetching results...