不要想太多,这样简单 摘要:解题思路:基础C语言即可注意事项:只用for和if语句参考代码:#include<stdio.h>int main(){ int a[10],i,b; for(i=0;i<9;i++) s…… 题解列表 2023年03月01日 0 点赞 0 评论 187 浏览 评分:8.0
[编程入门]自定义函数之字符串反转 摘要:解题思路:#include<stdio.h>#include<string.h>int main(){ char a[15]={'0'}; scanf("%s", &a);…… 题解列表 2023年03月01日 0 点赞 0 评论 156 浏览 评分:0.0
[编程入门]自定义函数之字符串连接 摘要:解题思路:#include<stdio.h>#include<string.h>int main(){ char a[10]={'0'},b[10]={'0'};…… 题解列表 2023年03月01日 0 点赞 0 评论 151 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:```c #include #include #include #include int main() { double a = 0.0, b = 0.0, c = 0.0; …… 题解列表 2023年03月01日 0 点赞 0 评论 285 浏览 评分:0.0
编写题解 1014: [编程入门]阶乘求和 摘要:因为这是阶乘求和,一般的int 类型可能就不够,因此我们利用long long int 类型(不用unsigned long 因为当n为20时,Sn =2561327494111820313) ``…… 题解列表 2023年03月01日 0 点赞 0 评论 192 浏览 评分:0.0
for嵌套循环打印九九乘法表 摘要:# 打印九九乘法表 用for的嵌套循环 为了符合格式要求,需要设置左对齐,还要调整字段宽度 注意width()方法只影响接下来显示的一个项目,然后将恢复为默认值 ###参考代码: ```cp…… 题解列表 2023年03月01日 0 点赞 0 评论 241 浏览 评分:7.3
1902: 蓝桥杯算法提高VIP-九宫格 摘要: import java.util.*; public class 九宫格 { public static void main(String[] args) { Scanner sc =…… 题解列表 2023年03月01日 0 点赞 0 评论 565 浏览 评分:9.9
我写代码真的很菜 摘要:解题思路:看注释就行注意事项:参考代码:import java.util.Scanner;public class Main { static boolean[][] vis; // 标记数组…… 题解列表 2023年03月01日 0 点赞 0 评论 324 浏览 评分:9.9
题解 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 评论 261 浏览 评分: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 评论 337 浏览 评分:0.0