2018: 飞奔的马 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; int main() { int…… 题解列表 2023年10月24日 0 点赞 0 评论 114 浏览 评分:0.0
病人排队(定义两个结构体数组,一个存放老年人群体,一个存所有的,在结构体中定义一变量区分出老年人) 摘要:解题思路:注意事项:在老年人中,如果有两人年纪相等,要按照输入时的顺序排序参考代码:#include<stdio.h> #include<string.h> struct patient { …… 题解列表 2023年10月24日 0 点赞 0 评论 192 浏览 评分:0.0
2059: [STL训练]sort练习 摘要:解题思路:注意事项:参考代码:sort排序从后向前输出#include<bits/stdc++.h> int main() { int m,n; int arr[1000]; …… 题解列表 2023年10月24日 0 点赞 0 评论 236 浏览 评分:0.0
2062: [STL训练]第二小整数 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; #include<algorithm> int main() { int…… 题解列表 2023年10月24日 0 点赞 0 评论 152 浏览 评分:0.0
C语言思路简单,易懂!!! 理解万岁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int i=1;void hanoi(int n,char X,char Y,char Z){ if (n==1){ …… 题解列表 2023年10月24日 0 点赞 0 评论 122 浏览 评分:0.0
循环入门练习2(这题,难崩,只能被7整除应该改成能被7整除) 摘要:参考代码: ```c #include int main() { int sum=0; for(int i=1;i…… 题解列表 2023年10月25日 0 点赞 0 评论 170 浏览 评分:0.0
蓝桥杯基础练习VIP-时间转换(简单易懂) 摘要:参考代码: ```c #include int main() { int t,m=0,h=0; scanf("%d",&t); m=t/60; t=t%60; h=m/60…… 题解列表 2023年10月25日 0 点赞 0 评论 156 浏览 评分:0.0
字符串输入输出函数 摘要:参考代码: ```c #include #include double GetReal() { double a; scanf("%lf",&a); retur…… 题解列表 2023年10月25日 0 点赞 0 评论 206 浏览 评分:0.0
printf基础练习(十进制前缀是0,十六进制前缀是0x) 摘要:解题思路: 如果是大写十六进制前缀则为0X 二进制前缀为0b或者0B,这两个没有区别,都可以 参考代码: ```c #include int main() { print…… 题解列表 2023年10月25日 0 点赞 0 评论 704 浏览 评分:0.0
c++范围for简单解法 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<sstream>#include<iomanip>using namespace std;int main(){ …… 题解列表 2023年10月25日 0 点赞 0 评论 547 浏览 评分:0.0