题解列表
输入输出练习之输出图案给个好评
摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ char c; cin>>c; cout<<" "……
输入输出练习之第二个数字给个好评
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; ……
编写题解 1267: A+B Problem
摘要:import java.util.*;public class Main { public static void main(String [] args){ Scanner sc……
最大公约数与最小公倍数
摘要:解题思路:最大公约数的求法欧几里得算法是用来求两个正整数最大公约数的算法。古希腊数学家欧几里得在其著作《The Elements》中最早描述了这种算法,所以被命名为欧几里得算法。扩展欧几里得算法可用于……
嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(~scanf("%d%d", &a, &b))printf("%d\n……
Hello, World!给个好评
摘要:解题思路:注意事项:参考代码:#include<iosteam> using namespace std; int main() ……
嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻嘻
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(~scanf("%d%d", &a, &b))printf("%d\n……
A+B Problem给个好评
摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a,b; while(cin>>a>>b)cout<<(a+b)<<e……