Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
511 | 陈思雨 | 小朋友分糖果 | C++ | Accepted | 100 | 0 MS | 252 KB | 186 | 2019-09-20 20:40:58 |
#include<iostream> int main(){ int a,b,c,d,e,f,g,h; scanf("%d %d %d",&a,&b,&c); d=a/3; e=(b+d)/3; f=(c+e+d)/3; g=d+e+f; h=e+f; printf("%d %d %d",g,h,f); return 0; }