题解列表
java解题之链表合并
摘要:import java.util.Scanner;
import java.util.ArrayList;
import java.util.Collections;
import java.u……
[编程入门]阶乘求和
摘要:解题思路: 通过子函数进行运算阶乘,循环进行存值注意事项: 1.子函数返回类型 long long 2.输入输出%lld参考代码:#include<stdio.h>long long……
[编程入门]完数的判断
摘要:解题思路:注意事项:时间问题,限制时间太短,用指针可以减少时间参考代码:#include<stdio.h>int main(){ int i,j,n,a[100]={0},sum=0,*p=a; sc……
编写题解 3009: 判断闰年
摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if((a……
编写题解 1043: [编程入门]三个数字的排序
摘要:解题思路:注意事项:人家让从小到大,不要从大到小参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; ……
1043: [编程入门]三个数字的排序
摘要:解题思路:注意事项:是大写不是小写参考代码:#include <iostream>using namespace std;int main(){ int a,b,c; cin >>a>>b……
编写题解 2792: 三角形判断
摘要:解题思路:两边之和大于第三边注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin……