首页 > 牛牛爱数学
头像 generals
发表于 2020-06-21 21:55:54
分析 已知,求的值。 Code #include<bits/stdc++.h> using namespace std; long long a,b,c; int main() { int t; scanf("%d",&t); while(t--) 展开全文
头像 东溪看水
发表于 2020-06-22 17:12:40
解题思路 现有 、、 三个正整数,是否存在一个正整数 ,使得 成立。 上面的等式化为 ,所以 。 C++代码 #include<iostream> using namespace std; int main(){ int T, a, b, c; cin >> 展开全文
头像 cheeserish
发表于 2020-06-21 13:14:11
转化为关于d的一元二次方程组;再由求根公式,可以看出△=0,所以最后的解k=(b*c)/a; #include<bits/stdc++.h> using namespace std; #define int long long int t,a,b,c; signed main() { 展开全文