题解列表
C语言训练-排序问题<2>(水题)
摘要:```c
#include
#include
int cmp(const void* a,const void* b){
return *(int *)b-*(int *)a;
}
……
题解 2841: 大整数加法 (c++)string解题
摘要:解题思路:用string把输入的数字倒叙存入在数组里面,然后进行对位相加,再倒叙输出参考代码:#include <iostream>
using namespace std;
string s1,……
字符串对比,100%通过!!!
摘要:解题思路:注意事项:参考代码:a = input()b = input()if len(a) != len(b): print(1)elif a == b: print(2)elif a.……
用指针输出最高分数的学生姓名
摘要:```c
#include
int main()
{
int a[100], num, max;
char n[100][21]; //定义字符串数组 用于存放名字
char(*p)……
顺序查找之不高兴的津津
摘要:```c
#include
int main()
{
int a[7][2], b[7], num = 0, day;
for (int i = 0; i < 7; i++) //输入7……