@[kyrin817](/user/1066750)
给你个 Hack 数据,不懂问我。
>4 1 1
>3 1 1
>2 1 1
by wyf_550283 @ 2024-04-14 18:09:21
应输出
>6
by wyf_550283 @ 2024-04-14 18:15:15
@[kyrin817](/user/1066750) 你试试这个:
```cpp
#include <bits/stdc++.h>
int main()
{
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
int a[4], b[4], c[4];
std::cin >> a[1] >> a[2] >> a[3] >> b[1] >> b[2] >> b[3] >> c[1] >> c[2] >> c[3];
std::cout << std::max(std::max(std::max(std::max(std::max(a[1] + b[2] + c[3], a[1] + b[3] + c[2]), a[2] + b[1] + c[3]), a[2] + b[3] + c[1]), a[3] + b[1] + c[2]), a[3] + b[2] + c[1]) << std::endl;
return 0;
}
```
我要下线了,所以你就暂时找不到我了。
by wyf_550283 @ 2024-04-14 18:22:26