编写题解 1765: 循环入门练习2 (C语言) 摘要:解题思路:不要想太复杂,能被7整除就加起来就行注意事项:参考代码://还是1~1000以内,求这其中只能被7整除的这些数字之和! #include <stdio.h> int main () {…… 题解列表 2022年12月27日 0 点赞 1 评论 304 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-纸张尺寸 摘要:解题思路:注意事项:参考代码://package abnormal;import java.util.Scanner;/** * @projectName: Change _Through * @pa…… 题解列表 2022年12月27日 0 点赞 0 评论 605 浏览 评分:9.9
编写题解 1764: 循环入门练习1(C语言) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> int main () { int sum=0; for (int i = 0; i <=1000; i++) { …… 题解列表 2022年12月27日 0 点赞 0 评论 294 浏览 评分:9.9
编写题解 1763: sizeof的大作用(超级简单) 摘要:解题思路:你应该不喜欢看解释注意事项:参考代码:#include <stdio.h> int main () { printf ("%d %d %d %d %d\n",sizeof (int)…… 题解列表 2022年12月27日 0 点赞 0 评论 298 浏览 评分:0.0
编写题解 1762: printf基础练习(C语言) 摘要:解题思路:注意事项:0%o表示八进制 0x%x表示16进制参考代码:#include <stdio.h> int main () { printf ("0%o 0x%x",1234567…… 题解列表 2022年12月27日 0 点赞 0 评论 743 浏览 评分:9.9
编写题解 1670: 拆分位数(C语言) 摘要:解题思路:int类型除某个数只取整数部分注意事项:%表示取余数参考代码://逆序输出这个三位数,输出个位、十位、百位,三个数字,用空格分开 #include <stdio.h> int main …… 题解列表 2022年12月27日 0 点赞 0 评论 377 浏览 评分:0.0
编写题解 1668: printf基础练习2(C语言) 摘要:解题思路:注意事项:%o表示八进制 %d表示十进制 %x表示十六进制参考代码:#include <stdio.h> int main () { int n; while (~scanf…… 题解列表 2022年12月27日 1 点赞 0 评论 551 浏览 评分:6.0
最大公约数最小公倍数//辗转反除 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int a,b,c=1,d,e; scanf("%d%d",&a,&b); d=a*b; while(c!=0…… 题解列表 2022年12月27日 0 点赞 0 评论 246 浏览 评分:0.0
有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { float b=2,c=1,d,e,f=0; int a; scanf("%d",&a); for (floa…… 题解列表 2022年12月27日 0 点赞 0 评论 454 浏览 评分:0.0
字符串分类统计,用一下malloc吧 摘要:参考代码如下,解析写代码块里 #include #include #include int main(void) { char* p …… 题解列表 2022年12月27日 0 点赞 0 评论 589 浏览 评分:9.9