for嵌套循环打印九九乘法表 摘要:# 打印九九乘法表 用for的嵌套循环 为了符合格式要求,需要设置左对齐,还要调整字段宽度 注意width()方法只影响接下来显示的一个项目,然后将恢复为默认值 ###参考代码: ```cp…… 题解列表 2023年03月01日 0 点赞 0 评论 352 浏览 评分:7.3
1902: 蓝桥杯算法提高VIP-九宫格 摘要: import java.util.*; public class 九宫格 { public static void main(String[] args) { Scanner sc =…… 题解列表 2023年03月01日 0 点赞 0 评论 706 浏览 评分:9.9
我写代码真的很菜 摘要:解题思路:看注释就行注意事项:参考代码:import java.util.Scanner;public class Main { static boolean[][] vis; // 标记数组…… 题解列表 2023年03月01日 0 点赞 0 评论 439 浏览 评分:7.3
题解 2767: 计算多项式的值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a, b, c, d,x; scanf("%lf %lf %lf %lf %lf", &x, &a…… 题解列表 2023年03月01日 0 点赞 0 评论 356 浏览 评分:0.0
题解 2766: 甲流疫情死亡率 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a = 0; int b = 0; double c = 0; scanf("%d %d", &a, …… 题解列表 2023年03月01日 0 点赞 0 评论 475 浏览 评分:0.0
题解 2758: 打印ASCII码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a = 0; scanf("%c\n", &a); printf("%d\n", a); return…… 题解列表 2023年03月01日 0 点赞 0 评论 850 浏览 评分:4.3
使用循环打印行数可变的空心金字塔 摘要:行数可变,改num值即可。 ``` java public class Main { public static void main(String[] args) { i…… 题解列表 2023年03月01日 1 点赞 0 评论 427 浏览 评分:10.0
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, x, y; int a = 0; scanf("%d %d %d", &n, &x, &y); i…… 题解列表 2023年03月01日 0 点赞 0 评论 348 浏览 评分:0.0
2023-3仅供自己回忆使用 摘要:#include<stdio.h>#include<math.h>int main(){ int i=2,n=2,Num=0,control=0; int th; scanf("%d…… 题解列表 2023年03月01日 0 点赞 0 评论 425 浏览 评分:0.0
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double xa = 0; double ya = 0; double xb …… 题解列表 2023年03月01日 0 点赞 0 评论 410 浏览 评分:0.0