5 条题解
-
-2
#include using namespace std;
int main() { int a, b, c, d, e; cin >> a >> b >> c >> d >> e;
int t1 = a / 3; int t2 = b / 3; int t3 = c / 3; int t4 = d / 3; int t5 = e / 3; a = t1 + t2 + t5; b = t2 + t1 + t3; c = t3 + t2 + t4; d = t4 + t3 + t5; e = t5 + t4 + t1; cout << a << " " << b << " " << c << " " << d << " " << e; return 0;}
信息
- ID
- 30036
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 6
- 标签
- 递交数
- 66
- 已通过
- 20
- 上传者