多种方法,不使用数组也行 摘要:有多种解法,可以先排序,然后直接首尾相减 ```c #include #include int cmp(const void *a,const void *b){ return …… 题解列表 2024年11月05日 0 点赞 0 评论 268 浏览 评分:0.0
高精度加法 摘要:#include"bits/stdc++.h" using namespace std; int main(){ string a1,a2; int b1[20000],b2[…… 题解列表 2024年11月05日 0 点赞 0 评论 251 浏览 评分:0.0
高精度减法 摘要:#include"bits/stdc++.h" using namespace std; int main(){ string s1,s2; int a1[1000]={0},…… 题解列表 2024年11月05日 0 点赞 0 评论 508 浏览 评分:0.0
2858: 整理药名 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main() { char a[100][100]; // 定义一个二维数组来存储…… 题解列表 2024年11月05日 0 点赞 0 评论 278 浏览 评分:0.0
看题解的置顶代码的 摘要:解题思路:只是为了记录代码,方便查阅注意事项:参考代码:#include<stdio.h>#include<stdlib.h>//创建一个管理结构体typedef struct student{ …… 题解列表 2024年11月05日 3 点赞 0 评论 603 浏览 评分:0.0
胡说八道式解释答案, 没有详细介绍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n ; int a , b , c, d ; float x ,y ; …… 题解列表 2024年11月05日 2 点赞 0 评论 425 浏览 评分:0.0
高精度乘法 摘要:#include"bits/stdc++.h" using namespace std; int main(){ string s1,s2; int a1[100000],a2…… 题解列表 2024年11月05日 0 点赞 0 评论 239 浏览 评分:0.0
逆天解法,包得吃的。 摘要:解题思路:注意事项:自己看参考代码:#include<stdio.h> int main(){ int arr[101],i,j,a,b,c; for(i=0;i<100;i++) { arr[i]…… 题解列表 2024年11月06日 0 点赞 0 评论 411 浏览 评分:0.0
找第一个只出现一次的字符 摘要:解题思路:写题解代码只是为了自己查看,无严谨性注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[100000]; …… 题解列表 2024年11月06日 0 点赞 0 评论 573 浏览 评分:0.0
小白,看看就行,不动脑袋 摘要:解题思路:注意事项:参考代码:小白菜鸟写的,看看就好#include<iostream>using namespace std;int main(){ int arr[1000]; int…… 题解列表 2024年11月06日 0 点赞 0 评论 280 浏览 评分:0.0