题解列表

筛选

回文数字 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int a,b,c,n,flag=1; scanf("%d",&n); for(a=1;a<10……

奖学金 (C语言代码)

摘要:解题思路:    结构体+快速排序参考代码:#include <stdio.h> #include <stdlib.h> struct stu { int num;//学号 int a,……

字符串的输入输出处理 (C++代码)

摘要:解题思路:在全局定义一个指针数组,用于指向后面输入的字符串;开始输入数n,之后的n个字符串用gets函数来接收(gets函数能接收空格);之后的字符串就用普通的cin或者scanf来接收,依次用数组指……

Manchester- 海绵宝宝求车速

摘要:解题思路:把要判断的数的每一位存入数组,首尾相同,且中间两个数也相同,输出结果;参考代码:#include <stdio.h> #include <math.h> int main() {  ……