题解列表

筛选

自定义函数之字符串连接

摘要:解题思路:【原理】,不使用<string.h>头文件,不使用字符串连接函数,使用指针注意事项:参考代码:#include <stdio.h>#include <stdlib.h>char *MyStr……

输入输出练习之输出图案

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){char t;    while(cin>>t) {     ……

python-蓝桥杯算法提高VIP-分苹果

摘要:解题思路:思路参考的大佬的思路,采用了差分法。说一下自己对这个方法的理解。①建立一个数组dis[n+2],里面存储的值是每个小朋友与上一个小朋友手里的苹果的差值,初始化值为0。   每发一次苹果,  ……

C语言训练-数字母

摘要:解题思路: ```c #include #include #include int main() { char a[100] = { '\0' }; int i=0,m=0; ……