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 阅读全文
posted @ 2020-05-25 17:50 yanying 阅读(148) 评论(0) 推荐(0)
摘要:自闭自闭了。。为什么最近的比赛老是那么呆,感觉自己好菜呀。。 阅读全文
posted @ 2020-05-24 23:42 yanying 阅读(28) 评论(0) 推荐(0)
摘要:链接:https://codeforces.com/contest/1352 A:拆分总数为不为0的位的数量,然后输出每一个不为0的数乘以它的权重即可。 代码: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 usin 阅读全文
posted @ 2020-05-13 17:42 yanying 阅读(208) 评论(0) 推荐(0)
摘要:链接:https://atcoder.jp/contests/abc166 A: 分析:ABC和ARC轮换。 #include <iostream> #include <string> using namespace std; string s; int main(void) { cin>>s; i 阅读全文
posted @ 2020-05-04 11:37 yanying 阅读(408) 评论(0) 推荐(0)