摘要:
D: 枚举a,二分b,更新最小值 code: void solve(int Case) { int n; int x; cin >> n; int ans = 2e18; auto check = [&](int a, int b) { int x = a * a * a + a * a * b + 阅读全文
摘要:
###[SCOI2005]骑士精神 思路: 迭代加深,启发式剪枝 代码: #include <bits/stdc++.h> #define int long long int _ = 0, Case = 1; using namespace std; #define all(v) begin(v), 阅读全文