首页 > 怎么写线性SPJ
头像 CH_cycyc
发表于 2025-02-23 21:11:55
F-怎么写线性SPJ_牛客周赛 Round 82 推导思路请看大佬写的这一篇:牛客周赛 Round 82 解题报告 | 珂学家_牛客博客 借鉴此思路,写一个十分简化的F题C++代码 #include<bits/stdc++.h> using namespace 展开全文
头像 mahiro_zcy
发表于 2025-02-23 23:01:31
F. 怎么写线性SPJ (2种解法) 打得比较着急,可能有奇怪的 typo Update 1: 修复了把 4 处 min 打成 max 的 typo Update 2: 修复了漏打了个 g 的 typo Update 3: 修正了第 2 个解法的证明部分 本题解中数组 的下标从 1 开始. 记 展开全文
头像 pluiekk
发表于 2025-02-24 10:01:45
题解 F| #怎么写线性SPJ# 代码实现 #include <iostream> using namespace std; int n; int main() { cin >> n; int k; string s = "1"; 展开全文

等你来战

查看全部