题解列表

筛选

狂猎退去-题解(C++代码)氵

摘要:解题思路:while循环输入n,数组清0,输入数组值;cnt请0,用于计数.for循环判断1 3 5 4 20 1 2 3 4只需要判断[1~n-1)的位置a>b>c  或者是 a<b<c输出计数器并……

DNA-题解(C++代码)

摘要:参考代码#include using namespace std; int main() { int t, n, m; cin >> t; while (t--) { cin ……