上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页
摘要: #include <bits/stdc++.h> using namespace std; int main(){ int n,a[100]={},x=0,Max=0; cin>>n; for(int i=1;i<=n;i++){ if(n%i==0){ a[x]=i; x++; } } for(i 阅读全文
posted @ 2024-04-21 08:51 最后一个还有我 阅读(6) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(){ int a[10]={99,1,2,3,164,5,6,71,8,4}; int max; for(int i=1;i<10;i++){ for(int j=i;j>0;j--){ if(a[j 阅读全文
posted @ 2024-04-05 09:44 最后一个还有我 阅读(8) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-04-05 09:20 最后一个还有我 阅读(0) 评论(1) 推荐(0)
摘要: #include <iostream> using namespace std; int main(){ int a[10]={99,1,2,3,164,5,6,71,8,4}; int max; for(int i=0;i<9;i++){ for(int j=i+1;j<10;j++){ if(a 阅读全文
posted @ 2024-04-05 08:33 最后一个还有我 阅读(6) 评论(0) 推荐(0)
摘要: int count=0; for(int k=0;k<100;k++){ count++; } cout<<count; //程序执行次数:100 //时间复杂度:O(1) int count=0; for(int k=0;k<*N;k++){ count++; } int M=10; while( 阅读全文
posted @ 2024-03-24 09:38 最后一个还有我 阅读(9) 评论(0) 推荐(0)
摘要: #include <iostream> #include <fstream> #include <string> #include <iomanip> #include <vector> #include <stdlib.h> #include <string.h> using namespace 阅读全文
posted @ 2024-03-17 14:11 最后一个还有我 阅读(16) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-03-16 10:01 最后一个还有我 阅读(1) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-03-16 09:45 最后一个还有我 阅读(8) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <iomanip> using namespace std; int main(int argc, char** argv) { char a; int i,j,c,k=2; for(int i=0;i<10;i++){ a='A' 阅读全文
posted @ 2024-03-15 20:12 最后一个还有我 阅读(23) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include <iomanip> using namespace std; int main(int argc, char** argv) { char a; int i,j,c; for(int i=0;i<10;i++){ a='A'; fo 阅读全文
posted @ 2024-03-15 19:41 最后一个还有我 阅读(7) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页