首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
bertown专题
codeforces 884C Bertown Subway
http://codeforces.com/problemset/problem/884/C 找环,再按每个环内元素的数量从大到小排序,把前2个大的求和,再将这个和与其他的数求平方和。 #include <bits/stdc++.h>using namespace std;int con=0;long long int ans[111111]; boo
阅读更多...