11 2020 档案
11.14 补题
摘要:7-1 阅览室,感觉思路还好,但是写的太繁琐了,借鉴一下过的代码,又写了一遍;,代码: #include<bits/stdc++.h> using namespace std; int s[1010],w[1010]; int main() { int n; cin>>n; while(n--) {
阅读全文
11.8 补题
摘要:7-2 就是按照大佬的思路就是先从第一个座位开始坐,然后按照规则加上去,先把每一个队伍的编号都存起来,在最后输出: #include <cstdio> #include <algorithm> #include <iomanip> #include <iostream> #include <cmat
阅读全文
10.31 补题
摘要:6.求最长 的连续因子,思路就是从2找到sqrt(n) 然后取最大的,但是改了半天还是wa了一个点,代码: #include<bits/stdc++.h> using namespace std; #define LL long long vector<int>p; int main() { LL
阅读全文
浙公网安备 33010602011771号