上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页
摘要: #include<bits/stdc++.h> using namespace std; int main(){ int n,s=1; cin>>n; while(n>0){ cout<<n%2; s++; n/=2; } return 0; } 阅读全文
posted @ 2024-06-02 08:52 爱吃泡面的皮卡 阅读(29) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(){ int a[11]; for(int i=0;i<10;i++){ cin>>a[i]; } for(int i=0;i<10;i++){ for(int j=9;j>i;j--){ if(a[ 阅读全文
posted @ 2024-06-02 08:33 爱吃泡面的皮卡 阅读(22) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string> using namespace std; string t; int l, r, x/*未知数系数和*/, n/*常量和*/, mid; int main() { cin >> t; x = 0; while (t[mid] 阅读全文
posted @ 2024-05-04 08:12 爱吃泡面的皮卡 阅读(232) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(){ int t,a[10]={1,2,3,4,5,6,7,8,9,10}; for(int i=1;i<=10;i++){ for(int j=i+1;j<=10;j++){ if(a[i]>a[j 阅读全文
posted @ 2024-04-05 09:54 爱吃泡面的皮卡 阅读(15) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(){ int a[]={1,3,5,8,9,10,7,34,89,46}; int m=0; for(int i=1;i<10;i++){ for(int j=i;j>0;j--){ if(a[j]< 阅读全文
posted @ 2024-04-05 09:54 爱吃泡面的皮卡 阅读(26) 评论(0) 推荐(0)
摘要: int count=0; for (int k=0;k<100;k++){ count++; } cout<<cunt; //程序执行次数:100 //时间复杂度:O(1) int count=0; for(int k=0;k<2*N;k++){ count++; } int M=10; while 阅读全文
posted @ 2024-03-24 09:47 爱吃泡面的皮卡 阅读(33) 评论(0) 推荐(0)
摘要: #include <iostream> #include <vector> using namespace std; #define list 1 struct a{ string name; int id; int age; string Class; }index; void MAIN(){ c 阅读全文
posted @ 2024-03-17 09:57 爱吃泡面的皮卡 阅读(24) 评论(0) 推荐(0)
摘要: #include <iostream> #include "minecraft.h" #include "Windows.h" TxMinecraft mc; using namespace std; int X,Y,Z,id=0,data=0; int a=0; void chu_shi_hua( 阅读全文
posted @ 2024-03-03 10:01 爱吃泡面的皮卡 阅读(32) 评论(0) 推荐(0)
摘要: #include <iostream> #include <string> #include "Windows.h" #include "minecraft.h" TxMinecraft mc; using namespace std; int main(int argc, char** argv) 阅读全文
posted @ 2024-03-01 20:00 爱吃泡面的皮卡 阅读(40) 评论(0) 推荐(0)
摘要: #include <iostream> #include "wanghuali.h" using namespace std; int main(int argc, char** argv) { wanghuali n; n.set(); n.get(); return 0; } class wan 阅读全文
posted @ 2024-01-28 11:20 爱吃泡面的皮卡 阅读(21) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 18 下一页