2025/8/1刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d&qu…… 题解列表 2025年08月01日 0 点赞 0 评论 49 浏览 评分:0.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int n,x,g,s,b,q,sum;int main(){ cin>>n; …… 题解列表 2024年01月11日 0 点赞 0 评论 155 浏览 评分:0.0
2816: 统计满足条件的4位数个数 摘要:参考代码:n = int(input()) arr = list(map(str, input().split())) sum = 0 for i in range(len(arr)): …… 题解列表 2024年03月17日 0 点赞 0 评论 252 浏览 评分:0.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int arr[101]; int n…… 题解列表 2024年01月02日 0 点赞 0 评论 251 浏览 评分:0.0
统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a,t=0;cin>>a;int q,b,x,g,s;…… 题解列表 2024年05月24日 0 点赞 0 评论 378 浏览 评分:0.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:n=int(input())a=[0]*na=list(map(str,input().split()))t=0def judgetrue(x): if int(i…… 题解列表 2024年07月06日 0 点赞 0 评论 181 浏览 评分:0.0
2816 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ ll n,su…… 题解列表 2024年07月17日 0 点赞 0 评论 194 浏览 评分:0.0
Yu:2816统计满足条件的4位数个数 摘要:#### 解题思路: 在会如何得到每一位数的情况下再思考此题。 如何得到每一位数的模板如下: ```c++ while(n){ // 当n变为0时循环结束 cout > …… 题解列表 2023年12月05日 0 点赞 0 评论 179 浏览 评分:0.0
Yu统计满足条件的4位数个数 摘要:# 解题思路 while循环拆数变型 # 参考代码 ```c++ #include using namespace std; int main() { int n,a,b,sum =…… 题解列表 2023年12月01日 0 点赞 0 评论 228 浏览 评分:0.0
题解 2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c=0; cin>>a; for(int i…… 题解列表 2023年11月10日 0 点赞 0 评论 242 浏览 评分:0.0