A. Problem Generator time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard output Vlad is planning to hold m m m rounds next month
这场比赛我自己打的是真的垃圾,也是侥幸被拿下了,第三题当时没想清楚,要不然还能止损一下,惜败惜败 话不多说,现在来看A~E题的题解 A. Problem Generator 题解:这题水题一个,我们来考虑本题的做法,题目说 给我n个问题,然后有m轮比赛,每轮比赛都需要A~G道题,那么我们之间去用数组去统计每道题的出现的次数即可,然后对于对于每个问题我们需要判断其出现次数是否小于m,若
A. Problem Generator time limit per test: 1 second memory limit per test: 256 megabytes input: standard input output: standard output Vlad is planning to hold m m m rounds next month
好久没写题解了,今天来写个题解。 A - 问题 Generator #include "bits/stdc++.h"using namespace std;#define int long long #define endl '\n'#define IOS ios::sync_with_stdio(0),cin.tie(0);#define all(x) x.begin(),x