第一题:dfs只有54%,出来后听说是折半特地去学习了一下 思路写了篇题解发在csdn https://blog.csdn.net/qq_41820091/article/details/123733954?spm=1001.2014.3001.5502 代码 #include<bits/stdc++.h> using namespace std; int a[100][100] = { 0 }, n, m, k, ans = 0, cnt1 = 0, cnt2 = 0; typedef struct States { int val = 0, t = 0...