最高的海拔-题解(C++代码) 摘要:我的是用数组存储每个人的身高,然后直接用的sort函数给数组从小到大排序,最后输出最大的,代码很简单! 注意:使用sort函数要包含 algorithm 头文件哦。。。 程序实现: ```c…… 题解列表 2019年08月02日 0 点赞 0 评论 604 浏览 评分:0.0
最高的海拔 (C++代码)用什么数组... 摘要:解题思路: 不开数组.参考代码:#include<bits/stdc++.h> using namespace std; int main(){ int n,maxn=INT_MIN; …… 题解列表 2019年05月07日 0 点赞 0 评论 469 浏览 评分:0.0
最高的海拔 (C++代码) 摘要:解题思路:注意事项:此题很多样性,多种方法均可破参考代码:easy#include<cstdio> #include<stdio.h> int main() { int a,n,f=0; …… 题解列表 2018年01月28日 0 点赞 0 评论 869 浏览 评分:9.9