摘要: #include <bits/stdc++.h> using namespace std; map<int,int>m1; int main() { ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); int n,m; cin >> n >> m; for 阅读全文
posted @ 2023-11-22 15:27 小姜吃小僵 阅读(46) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int main() { int n,a,b,c,sum=0; cin >> n >> a >> b >> c; for(int i=1;i<=n;++i) { if(i%a!=0 && i%b!=0 && i 阅读全文
posted @ 2023-11-22 15:03 小姜吃小僵 阅读(29) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int main() { int n,a,j,sum=0; cin >> n; for(int i=1;i<=n;++i) { a=i; while(a) { j=a%10; if(j==2 || j==0  阅读全文
posted @ 2023-11-22 10:23 小姜吃小僵 阅读(13) 评论(0) 推荐(0)