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……
C语言程序设计教程(第三版)课后习题5.7 (C语言代码)
摘要:解题思路:通过多个while语句进行数据的拆解注意事项:1.本程序是初级阶段代码,仅供理解;2.思路不要局限于本程序,如正向输出一个整数的单个数字,也可使用递归函数(自行百度);3.每个人都有不同的想……