编写题解 2918: 成绩排序 摘要:解题思路:输入-冒泡法-输出注意事项:字符串的比较不能直接大小写参考代码:#include<stdio.h>#include<string.h>typedef struct student{ c…… 题解列表 2022年10月22日 0 点赞 0 评论 616 浏览 评分:3.0
晶晶赴约会 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); if(n==1||n==3||n==…… 题解列表 2023年01月14日 0 点赞 0 评论 284 浏览 评分:3.0
数一的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,sum=0; cin>>n; …… 题解列表 2023年07月14日 0 点赞 0 评论 224 浏览 评分:3.0
有不会的可以问我,看见就回答,如果我有错误请帮忙说一下,谢谢 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int str[n];//定义n个空间就不会溢出 int i,j,…… 题解列表 2024年01月18日 0 点赞 0 评论 326 浏览 评分:3.0
1002: 三个数最大值 摘要:解题思路:三目运算注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; int max=0; scanf("%d %d %d&quo…… 题解列表 2025年12月11日 3 点赞 0 评论 513 浏览 评分:3.0
去掉双斜杠注释 (C语言代码) 摘要:解题思路:注意事项:参考代码: #include<stdio.h> int main() { char a[100][100];//定义一个二维数组 int i=0,j,n; whi…… 题解列表 2018年03月12日 2 点赞 1 评论 2277 浏览 评分:3.1
P1074 (C++代码) 摘要:解题思路:注意事项:参考代码:暴力bfs:#include <iostream> #include <stdio.h> #include <queue> #include <stri…… 题解列表 2018年03月25日 1 点赞 0 评论 1326 浏览 评分:3.1
【偶数求和】 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a[1024]; int n, m, t …… 题解列表 2019年04月09日 0 点赞 0 评论 1686 浏览 评分:3.1
信息学奥赛一本通T1314-过河卒-题解(C++代码) 摘要:主要还是动态规划的思想 ```cpp #include #include using namespace std; int i, j; const int maxn = 20 + 5;…… 题解列表 2020年02月14日 0 点赞 0 评论 1076 浏览 评分:3.1
蓝桥杯算法提高VIP-图形输出-题解(Python代码) 摘要:解题思路:注意事项:参考代码:print(''' X | X | X---+---+--- | |---+---+--- O | O | O ''…… 题解列表 2020年11月20日 0 点赞 0 评论 650 浏览 评分:3.1