摘要:
1 #include <iostream> 2 using namespace std; 3 int BF(char S[], char T[]); 4 int main() 5 { 6 char s1[100], s2[10]; 7 int index = 0; 8 cout << "请输入主串: 阅读全文
posted @ 2020-11-23 10:50
丁帅帅dss
阅读(156)
评论(0)
推荐(0)
摘要:
总时间限制: 1000ms 内存限制: 65536kB描述 利用公式x1 = (-b + sqrt(b*b-4*a*c))/(2*a), x2 = (-b - sqrt(b*b-4*a*c))/(2*a)求一元二次方程ax2+ bx + c =0的根,其中a不等于0。 输入输入一行,包含三个浮点数a 阅读全文
posted @ 2020-11-23 10:49
丁帅帅dss
阅读(936)
评论(0)
推荐(0)