Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
1157 沈文佳 五个小朋友分巧克力 C++ Wrong Answer 40 0 MS 256 KB 376 2019-10-04 16:55:15

Tests(2/5):


#include<iostream> int main(){ int a,one,two,three,four,five; scanf("%d",&a); five=(a+4*a/2)/2/2/2/2; four=(a/2+3*a/2/2+(a+4*a/2)/2)/2/2/2; three=(a/2/2+2*a/2/2/2+(a+4*a/2)/2/2+(a/2+3*a/2/2+(a+4*a/2)/2)/2)/2/2; two=(a/2/2/2+a/2/2/2/2+five*2+three*2+four*2)/2; one=a/2/2/2/2+five+four+three+two; printf("%d %d %d %d %d",one,two,three,four,five); return 0; }


Judgement Protocol: