摘要: C. 2026 注意到 \(0 < x < y < \sqrt{n}\),所以直接枚举 \((x, y)\) 即可 代码实现 #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; vector<int> 阅读全文