摘要:
#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)

浙公网安备 33010602011771号