题解列表

筛选

A+B for Input-Output Practice (VI)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b,c,sum=0; while (cin >> a) ……

A+B for Input-Output Practice

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b,c,sum=0; cin >> c; while (……

A+B for Input-Output Practice (V)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b,c,sum=0; cin >> c; while (……

A+B for Input-Output Practice (II)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; int arr[100]; int sum = 0; c……

python编写题解 2773: 计算线段长度

摘要:解题思路:两点间距离公式注意事项:测试数据都是一组,不是两组。参考代码:from math import sqrt number = input().split() if len(number) ……

A+B for Input-Output Practice (I)

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){   int a,b;   while(cin>>a>>b)   cou……

与运算完成三角形判断

摘要:解题思路:            三条线段能组成三角形的条件:            ①两边之和大于第三边            ②两边之差小于