题解列表
双向链表实现大整数的乘法
摘要:参考代码:#include<stdio.h>
#include<string.h>
#include<stdlib.h>
struct lennum{
int num;
struct ……
最大公约数与最小公倍数
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,k; scanf("%d%d",&a,&b); if(a<b) { ……
2991: 八进制到十进制
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[10000];int main(){ cin>>s; int……
2082: 蓝桥杯基础练习-十六进制转十进制
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char s[10000];int main(){ cin>>s; int……
求矩阵的两对角线上的元素之和
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,sum1=0,sum2=0,sum; scanf("%d",&n); in……
题目2009:第一个带类的程序(带set函数)
摘要:```import java.util.Scanner;public class Main { public static void main(String[] args) { M……
统计字符数(再初始化一个数组存26个字母的出现次数,以每个元素减去'a',得序号来存入数组)
摘要:参考代码:
```c
#include
#include
int main()
{
int n;
scanf("%d",&n);
char s[1001];
while(~s……
字符串中间和后边*号删除(用指针狠狠调试)
摘要:参考代码:
```c
#include
#include
int fun(char *a)
{
while(*a=='*')//遍历过前导*,不做处理
{
……