1009: [编程入门]数字的处理与判断(简单暴力)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[10]; gets(a); int len=……
输出个数、各数、逆序
摘要:解题思路:事项:1、循环数个数 2、采用高到低位3、重新提取数字,然后逆序输出就行了参考代码:#include <stdio.h>int main() { int n,a=0; scanf……
1009简单易看题解,并注释
摘要:```#include#includeint main(){ char a[6]; scanf("%s",a); //直接用库函数 int ……
题解 1009: [编程入门]数字的处理与判断
摘要:解题思路:使用string和algorithm中函数即可轻松完成要求注意事项:参考代码:#include <iostream>#include <string>#include……
C++:vector容器练习 输入单个字符 感觉实际上比较通用
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std ;int main ( ){&nbs……
5行解决,且代码简单易懂
摘要:解题思路:注意事项:参考代码:s=input()print(len(s))for i in s: print(i,end=' ')print()print(s[::-1])……
菜鸟记录11111111
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b=0,c[5]; scanf(&q……