题解列表
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.……