c代码记录之满载而归 摘要:```c #include int main() { int a,b,c; while(~scanf("%d%d%d",&a,&b,&c)){ if(a…… 题解列表 2024年01月11日 0 点赞 0 评论 496 浏览 评分:0.0
蓝桥杯2022年第十三届决赛真题-左移右移 摘要: //(o1, o2) -> o1[1] - o2[1]表示用于排序的比较器(comparator)。这个比较器使用数组元素的第二个值进行比较,以升序排序。比较器使用 lambda 表达式 (o…… 题解列表 2024年01月11日 0 点赞 0 评论 731 浏览 评分:0.0
1098: 陶陶摘苹果 C语言 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS #include int main() { int apple_hight[10] = {0};//…… 题解列表 2024年01月11日 0 点赞 0 评论 536 浏览 评分:0.0
c代码记录之破解密码--水题 摘要:int不行,要用long long ```c #include int main() { long long a,b; while(scanf("%lld%lld",&a,…… 题解列表 2024年01月10日 0 点赞 0 评论 458 浏览 评分:0.0
编程入门:成绩测定 摘要:解题思路:注意事项:不要忘记“100”这个分数参考代码:#include<stdio.h>int main(){ int grade; scanf("%d",&grade); …… 题解列表 2024年01月10日 0 点赞 0 评论 553 浏览 评分:0.0
简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,g,s,b; scanf("%d",&i); b=i/100%10; s=i…… 题解列表 2024年01月10日 0 点赞 0 评论 564 浏览 评分:0.0
[编程入门]三个数最大值 摘要:解题思路:使用qsort函数注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int cmp(const void*a,const void*b){ re…… 题解列表 2024年01月10日 0 点赞 0 评论 482 浏览 评分:0.0
c代码记录之周瑜的反间计--水题 摘要:```c #include int main() { int n,m,i,j,k,temp; while(scanf("%d",&n)&&n!=-1){ i…… 题解列表 2024年01月10日 0 点赞 0 评论 531 浏览 评分:2.0
题解 2751: 超级玛丽游戏 摘要:解题思路:直接干就完了注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<" …… 题解列表 2024年01月10日 0 点赞 0 评论 742 浏览 评分:9.9
最长单词2(C语言,短小精悍) 摘要:解题思路:可以用两个数组a,b,因为%s是不收取空格,用while循环每次获取一段,然后对比当然也可以用二维数组注意事项:参考代码:#include<stdio.h> #include<string…… 题解列表 2024年01月09日 1 点赞 0 评论 759 浏览 评分:0.0