题解列表

筛选

2906: 笨小猴

摘要:```cpp #include #include #include #include using namespace std; bool ZS(int n) { if(nn; ……

3000: 交换值

摘要:```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; cout……

3001: 整数的和

摘要:```cpp #include using namespace std; int main() { int a,b,c; cin>>a>>b>>c; cout……

[编程入门]电报加密

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char s[100]; gets(s); for(int i=0;s[i];i++){ if(s[i]>=……

[编程入门]三个字符串的排序

摘要:解题思路:笨方法,和三个数排序地思路差不多。注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char t[100],a[100],……

找到第一个仅出现一次的字符。

摘要:解题思路:注意事项:参考代码://题目描述//给定一个只包含小写字母的字符串,请你找到第一个仅出现一次的字符。//如果没有,输出no。//输入格式//一个字符串,长度小于100000。//输出格式//……

统计数字字符个数

摘要:解题思路:用ASCII码值实现注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>void countnumber(const cha……