10 2024 档案

摘要:#include <iostream> #include <vector> using namespace std; int main(){ vector <int> a; a.push_back(3); a.push_back(2); a.push_back(0); for(int i=0;i<a 阅读全文
posted @ 2024-10-27 09:50 昵称就是最好的昵称 阅读(2) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> #include <cmath> using namespace std; void a1(int n){ int a[n],i=0,sum=0; for(i=0;n>=1;i++){ a[i]=n%2; n/=2; } for(int j=i-1;j>=0; 阅读全文
posted @ 2024-10-20 09:55 昵称就是最好的昵称 阅读(4) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示