Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164476 屠思宇 【基础题】分糖果 C++ Accepted 1 MS 272 KB 273 2026-11-03 19:37:22

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a=50,b=43,c=13; int t=a/3; a=t; b+=t; c+=t; t=b/3; b=t; a+=t; c+=t; t=c/3; c=t; a+=t; b+=t; cout<<a<<" "<<b<<" "<<c<<endl; return 0; }