题解列表

筛选

编写题解 1249: 简单编码

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main() {    string s;    wh……

题解 大小写转换 简单易懂

摘要:解题思路: 1.利用while函数输入字符串s 2.当输入的字符串为 End of file 跳出循环 3.用islower函数用于判断字符是否为小写字母(a-z) 4.int toupper……

1220题解 C++ 序列有序 新思路

摘要:解题思路: 1.把数直接插入原序列的末尾 2.然后用sort函数对新序列进行排序后再输出 注意事项: 利用sort函数要加algorithm的头文件 参考代码: ```cpp #incl……

最简单版本

摘要:解题思路:好吧,我承认我看题解了注意事项:无参考代码:#include<stdio.h>int main(){    int n,i,a[10],j;    for(i=0;i<9;i++){    ……