统计满足条件的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 评论 102 浏览 评分:0.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int arr[101]; int n…… 题解列表 2024年01月02日 0 点赞 0 评论 91 浏览 评分: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 评论 63 浏览 评分:0.0
统计满足条件的4位数个数 摘要:参考代码: ```c #include int main() { int n,k=0;//k是累计符合条件的数 scanf("%d",&n); int a; for(int i…… 题解列表 2023年09月14日 0 点赞 0 评论 208 浏览 评分:2.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,a,ans=0; cin …… 题解列表 2024年01月13日 0 点赞 0 评论 93 浏览 评分:6.0
题解 2816: 统计满足条件的4位数个数 摘要:解题思路:先定义并输入n个数,再定义sum=0,再写循环并在循环里求出四位的数,再让他们进行运算,如果大于零就累加sum,最后输出sum。注意事项:要定义sum=0。参考代码:#include <bi…… 题解列表 2024年01月11日 0 点赞 0 评论 191 浏览 评分:8.0
2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码:s = 0 n = int(input()) l = list(map(int,input().split())) for i in l: a = i %…… 题解列表 2023年02月21日 0 点赞 0 评论 257 浏览 评分:9.9
编写题解 2816: 统计满足条件的4位数个数 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<math.h>int main(){ int n,k=0; scanf("%d",&n); int a…… 题解列表 2024年11月10日 0 点赞 0 评论 125 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月12日 0 点赞 0 评论 123 浏览 评分:9.9
给用Java的开拓一下荒土 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main { public static void main(String[] a…… 题解列表 2023年04月19日 0 点赞 0 评论 191 浏览 评分:9.9