2858: 整理药名 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main() { char a[100][100]; // 定义一个二维数组来存储…… 题解列表 2024年11月05日 0 点赞 0 评论 195 浏览 评分:0.0
看题解的置顶代码的 摘要:解题思路:只是为了记录代码,方便查阅注意事项:参考代码:#include<stdio.h>#include<stdlib.h>//创建一个管理结构体typedef struct student{ …… 题解列表 2024年11月05日 3 点赞 0 评论 504 浏览 评分:0.0
胡说八道式解释答案, 没有详细介绍 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main ( ){ int n ; int a , b , c, d ; float x ,y ; …… 题解列表 2024年11月05日 1 点赞 0 评论 281 浏览 评分:0.0
高精度乘法 摘要:#include"bits/stdc++.h" using namespace std; int main(){ string s1,s2; int a1[100000],a2…… 题解列表 2024年11月05日 0 点赞 0 评论 163 浏览 评分:0.0
蓝桥基础练习-字符串对比,初学者暴力解法! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义两个字符串变量s1和s2 …… 题解列表 2024年11月06日 0 点赞 0 评论 271 浏览 评分:6.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 评论 318 浏览 评分:0.0
完数的判断C语言 摘要:解题思路:这个思路我都写在代码里了每段代表什么,如果有哪里不懂,欢迎评论区见注意事项:我用i*i<n是因为他因子一般成对出现,可以优化算法,让算法的运行速度更快参考代码:#include <stdio…… 题解列表 2024年11月06日 3 点赞 0 评论 395 浏览 评分:10.0
数组逆序重放 摘要:解题思路:随便写写,这题目比较常见,故而写题解方便自己查阅注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); …… 题解列表 2024年11月06日 1 点赞 0 评论 324 浏览 评分:10.0
用for嵌套解决国王的烦恼——发工资(C语言) 摘要:简单的for嵌套是无法解决的,我们需要加入一些判断才能解决。#include<stdio.h> #include<stdlib.h> int main(){ int n,coins=0,day=…… 题解列表 2024年11月06日 0 点赞 3 评论 273 浏览 评分:9.9
找第一个只出现一次的字符 摘要:解题思路:写题解代码只是为了自己查看,无严谨性注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char s[100000]; …… 题解列表 2024年11月06日 0 点赞 0 评论 474 浏览 评分:0.0