2025年1月13日

摘要: include<bits/stdc++.h> using namespace std; int main() { long long a,b,cnt=0; cin>>a>>b; if(b<a) cnt=a-b; else{ while(a2<=b){ a=a * 2; cnt++; }; int c 阅读全文
posted @ 2025-01-13 08:57 lkhshnu 阅读(40) 评论(0) 推荐(0)
 
摘要: 用函数实现等级映射 multiset打表 比对 include<bits/stdc++.h> using namespace std; const int N = 10010; int fun(int n){ if(n>=85) return 5; else if(n>=45) return 4; 阅读全文
posted @ 2025-01-13 08:54 lkhshnu 阅读(76) 评论(0) 推荐(0)