Submission #16562

#TimeUsernameProblemLanguageResultExecution timeMemory
16562tncks0121Scales (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__ */ int P[]={1,2,3,4,5,6}; void orderCoins() { getMedian(1, 2, 3);answer(P); } void init(int T) { }

Compilation message (stderr)

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

#Verdict Execution timeMemoryGrader output
Fetching results...