题解 | 不是解的解

不是解的解

https://www.nowcoder.com/practice/c70d05aba13f48cfaf6e730480f29ff2

/*为什么输出1000000呢???因为根据所给数据范围,1000000一定不是解*/
#include <bits/stdc++.h>
using namespace std;
using ll =long long;

void solve()
{
    int n;cin>>n;for (int i = 0;i < 3*n;i++)
    {
        int t;cin>>t;
    }
    cout<<1000000<<'\n';
}
int main() {
    ios::sync_with_stdio(false);cin.tie(nullptr);solve();return 0;
}
// 64 位输出请用 printf("%lld")

RogeAustine题解系列 文章被收录于专栏

这里是RogeAustine的题解专栏,里面包含的题目都是十分典型的经典题目。

全部评论

相关推荐

评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务