摘要: D. Dividing by Two 题意:偶数除二,奇数加一,直到两数相等,需要多少次 ac代码: #include<iostream> using namespace std; #define ll long long int main(){ ll a,b,sum=0; cin>>a>>b; w 阅读全文
posted @ 2020-05-08 17:02 CHUNIN 阅读(106) 评论(0) 推荐(0)
摘要: B 随机序列 题意:算方差和极差,超简单 ac代码: #include<iostream> #include<cstdio> #include<algorithm> using namespace std; #define ll long long #define N 10004 int main( 阅读全文
posted @ 2020-05-08 12:52 CHUNIN 阅读(78) 评论(0) 推荐(0)