题解列表
编写题解 2946: 数制转换
摘要:```cpp#include using namespace std;typedef long long ll;char s[1000];int a[1000], cnt;in……
题目 1010: [编程入门]利润计算
摘要:解题思路:读题看清题目要求在用if语句做判断注意事项:计算条件一定要看清参考代码:#include"stdio.h"void main(){ int l; ……
1013,for循环解决
摘要:#######includeint main(){ int a=2,n,term=0,sum=0,i; scanf("%d",&n); for(i=1;i……
链表数据求和操作(作代码记录用)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct……
1014解题方法及答案
摘要:解题思路:注意事项:与许多优质题解一样,将int型数据改为long long int型即可。参考代码:#include<stdio.h>#include<math.h>int ……
数组实现(数组的本质也是指针)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>intmain(){ intn,a[100]; ……
菲暃要加油——链表合并
摘要:参考代码:a,b=map(int,input().split())l0=[]foriinrange(a+b):&nb……
链表的基本操作(作代码记录用)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>typedef struct……