上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 55 下一页
摘要: #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N = 1e3+10,inf = 0x3f3f3f3f; map<ll,ll> ma; ll n,x; int main() { cin >> n 阅读全文
posted @ 2024-06-30 22:46 CRt0729 阅读(25) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-30 22:45 CRt0729 阅读(149) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(){ int n; cin >> n; int sum = 0; //统计位数 while(n != 0) { sum++; n /= 10; //每分割一位数就统计位数+1 } cout << su 阅读全文
posted @ 2024-06-30 22:45 CRt0729 阅读(77) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int main() { //1 - n int n , sum = 0; cin >> n; for(int i = 1; i <= n; i++) { if(i % 3 == 0 || i % 5 == 0 阅读全文
posted @ 2024-06-30 22:44 CRt0729 阅读(50) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-28 18:00 CRt0729 阅读(31) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int sum = 0; for(int i = 1;i <= n;i++) { int x; cin >> x; sum += x; //把每一个输 阅读全文
posted @ 2024-06-28 17:59 CRt0729 阅读(150) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-28 17:58 CRt0729 阅读(41) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-28 17:56 CRt0729 阅读(25) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-28 17:55 CRt0729 阅读(19) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> #define f(i,s,e) for(int i = s; i <= e; i++) #define ll long long using namespace std; const int N = 1e3+10,inf = 0x3f3f3f3f; 阅读全文
posted @ 2024-06-28 17:52 CRt0729 阅读(123) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 55 下一页