题解列表
画矩形,仅限于参考,我不是大佬
摘要:解题思路:先把开头打了,再想怎么打空格,然后再用开头的方法注意事项:应该没有参考代码:import java.util.Scanner;public class Main {  ……
使用%o直接输出八进制数
摘要:解题思路:在c语言里%o能直接输出八进制数注意事项:需要注意题目没有说明输入数的数目,在while循环中以EOF作为文件结束标志参考代码:#include <stdio.h>int mai……
题目要求是找出绝对值最小的数,而不是改变数据本身。
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int number[10];int num[10];int main(){ int b=0;&n……
题解 1022: [编程入门]筛选N以内的素数-复盘
摘要:#includeusing namespace std;int su(int i){ if(i==2||i==3)return 1; for(int j=2;j>n; for(……
题解 2750: 字符菱形--终于写这个两for循环
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ i……
题解 2096: 打印平行四边形-while和for
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ i……
题解 2012: 百分制成绩转换-只用了if、for、数组
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){ i……
编写题解 1018: [编程入门]有规律的数列求和
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float n=1.00,m=2.00; float sum=0.00; int N; scanf(……