题解列表
编写题解 3046: 最小新整数
摘要:解题思路:注意事项:参考代码:def dele(s,k): d=list(str(s))#int类型不能直接转换成list j=0#删除次数 flag=0#是否程序空转(未执行删除操……
C语言输出,仅两个数字之间有空格
摘要:解题思路:i++后,i指向下一个位置,此时判断一下是否需要输出空格注意事项:注意i指向的位置参考代码:#include<stdio.h>#include<stdlib.h> int main(){ ……
利用求根公式球一元二次方程的解
摘要:解题思路: 求根公式: x1=(-b-sqrt(b^2-4ac))/2a  
A+B for Input-Output Practice (VII)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b; while (cin >> a>>b) { ……
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 (IV)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b,sum=0; while (cin >> a && ……
A+B for Input-Output Practice (III)
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b; while(cin>>a>>b) { if (a……