摘要:
Atcoder训练 Harlequin 思维题博弈论,思考每一次怎么转化最优,存在两个答案说明f可以赢,打表发现当所有数字都是偶数时,答案为second,否则为first #include <bits/stdc++.h> using namespace std; using ll=long long 阅读全文
摘要:
Atcoder训练 Template Matching 暴力枚举,问题给出的nxn字符串数组有没有包含下面的mxm数组 #include <bits/stdc++.h> using namespace std; using ll =long long; int n,m; int main(){ in 阅读全文