吾乃元始天尊!!1470: 蓝桥杯基础练习VIP-时间转换 摘要:```c #include int main() { int t; scanf("%d",&t); int h,m,s; h=t/3600; …… 题解列表 2022年12月14日 0 点赞 0 评论 272 浏览 评分:0.0
蛇形矩阵(两个for循环) 摘要:解题思路:1 3 6 10 15 2 5 9 14 //每一行都等于对应上一行的数减一,如第一行的2等于第一行的3-1;5=6-1;9=10-1;14=15-1…… 题解列表 2022年12月14日 0 点赞 0 评论 273 浏览 评分:0.0
不用数组的和指针的方式完成这道题-《C语言》 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main() { char arr; while((arr = g…… 题解列表 2022年12月14日 0 点赞 0 评论 271 浏览 评分:0.0
陶陶摘苹果2(不需要用数组) 摘要:解题思路:注意事项:题目30厘米的条件不可以忽略参考代码://30厘米板凳,n表示苹果数目,m表示伸手达到的高度,求剩下的苹果数量#include <stdio.h>int main(void){ i…… 题解列表 2022年12月14日 0 点赞 0 评论 482 浏览 评分:0.0
判定字符位置(for循环及简单的条件判断) 摘要:解题思路:注意事项:参考代码://返回给定字符串s中元音字母的首次出现位置。英语元音字母只有‘a’、‘e’、‘i’、‘o’、‘u’五个。//若字符串中没有元音字母,则返回0。//只考虑小写的情况。#i…… 题解列表 2022年12月14日 0 点赞 0 评论 341 浏览 评分:0.0
为啥不考虑输入的四个数字不是乱序的,不能理解啊 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[4]; int i,j,k,m,t,p,q,l; cin>>m; while(m) { for(i…… 题解列表 2022年12月15日 0 点赞 0 评论 335 浏览 评分:0.0
C语言直接输出解就好了嘛 摘要:解题思路:注意事项:参考代码:#included<stdio.h> int main() { printf("%d",1993); return 0; }…… 题解列表 2022年12月15日 0 点赞 1 评论 213 浏览 评分:0.0
动态规划 三角形 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;const int N=110;int f[N][N],…… 题解列表 2022年12月16日 0 点赞 0 评论 265 浏览 评分:0.0
小试牛刀【最大公约数与最小公倍数】 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int r,m,n,k,t; scanf("%d %d",&m,&n); if (m<n) {…… 题解列表 2022年12月16日 0 点赞 0 评论 223 浏览 评分:0.0
编写题解 1856: 最小三个数 摘要:解题思路:注意事项:参考代码:import java.util.Arrays;import java.util.Scanner;public class Main { public static vo…… 题解列表 2022年12月17日 0 点赞 0 评论 252 浏览 评分:0.0