05 2020 档案
摘要:链接:https://codeforces.com/contest/1360 A: 假定a为长,b为宽,那么最小正方形的边长就是a和2b的最大值。 1 #include <iostream> 2 using namespace std; 3 int main(void) 4 { 5 int t; 6
阅读全文
摘要:自闭自闭了。。为什么最近的比赛老是那么呆,感觉自己好菜呀。。
阅读全文
摘要:链接:https://codeforces.com/contest/1352 A:拆分总数为不为0的位的数量,然后输出每一个不为0的数乘以它的权重即可。 代码: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 usin
阅读全文
摘要:链接:https://atcoder.jp/contests/abc166 A: 分析:ABC和ARC轮换。 #include <iostream> #include <string> using namespace std; string s; int main(void) { cin>>s; i
阅读全文

浙公网安备 33010602011771号