用while循环,卡住终止点是更新后的a=0 ;不断用10求模,不断更新,循环输出 摘要:解题思路:1.用while循环,卡住终止点是更新后的a=02.不断用10求模,不断更新,循环输出参考代码:#include<iostream> using namespace std; int m…… 题解列表 2024年12月05日 2 点赞 0 评论 330 浏览 评分:10.0
2818:老套路-(除十模十)-C语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h> void func(long long n); int main() { long long a; scanf("%…… 题解列表 2022年12月20日 0 点赞 1 评论 439 浏览 评分:9.9
极致简约版 2818: 分离整数的各个数位 摘要:解题思路: 注意事项:参考代码:print(" ".join(input()[::-1]))…… 题解列表 2024年03月17日 0 点赞 0 评论 269 浏览 评分:9.9
2818: 分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a; cin>>a; …… 题解列表 2024年01月15日 0 点赞 0 评论 106 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月12日 0 点赞 0 评论 208 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年01月12日 0 点赞 0 评论 271 浏览 评分:9.9
题解 2818: 分离整数的各个数位 摘要: #include using namespace std; int main(){ int z; cin>>z; while(z){ …… 题解列表 2023年11月15日 0 点赞 0 评论 137 浏览 评分:9.9
分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int x,a; cin >> x; w…… 题解列表 2023年07月20日 0 点赞 0 评论 152 浏览 评分:9.9
2818: 分离整数的各个数位 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n;//定义 cin>>n; while(n>0) …… 题解列表 2023年07月12日 0 点赞 0 评论 192 浏览 评分:9.9
分离整数的各个数位 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; while…… 题解列表 2023年07月12日 0 点赞 0 评论 107 浏览 评分:9.9