编写题解 2818: 分离整数的各个数位
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n; cin>>n; ……
题解 2818: 分离整数的各个数位 c++
摘要:解题思路:自己想注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>#include<windows.h>using namespace std;……
2818 while解法
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; int x,y; scanf("%d",&a); x=a; whil……
编写题解 2818: 分离整数的各个数位
摘要:解题思路:注意事项:参考代码:n=input()for i in range(len(n)-1,-1,-1): print(n[i],end=' ')……
旧物有情 #2818: 分离整数的各个数位 字符串翻转法 和 模拟法
摘要:[TOC]
这道题目的数据范围比较弱,不存在类似于10000
这种需要我们考虑前导0的问题
不过大家可以思考一下如何去除前导0
# 字符串翻转法
```
#include
u……