2021百度之星初赛三
1.数字游戏给你最大值,最小值和平均值,判断是否能构成一个数组符合给定值特判一下有没有最小值大于最大值的情况#include<bits/stdc++.h>using namespace std;const int maxn = 1e5 + 100;int a[maxn];int main() { int t; cin >> t; while (t--) { int n, maxx, minn, aver; cin
原创
2021-08-07 21:46:09 ·
775 阅读 ·
1 评论