1007题: 分段函数求值(if-else) 摘要:# 自己写的代码 ```c #include int main() { int x; scanf("%d",&x); if(x=1&&x…… 题解列表 2023年04月25日 0 点赞 0 评论 433 浏览 评分:0.0
蓝桥杯2023年第十四届省赛真题-平方差 摘要:解题思路:先查看数字的规律,再下手注意事项:x要么是4的倍数,要么是奇数参考代码:#include<stdio.h>int panduan(int x){ if(x%4==0) return 1; …… 题解列表 2023年04月25日 0 点赞 0 评论 1355 浏览 评分:8.3
1006题: 三个数找最大值(数组的思路) #自己写的代码```c#includeintmain(){inta[3];inttemp;gets(a);for(inti=0;ia[i+1]){temp=a[i];}else{temp=a[i+1];}}printf("%d",temp);return0;}```#代码的思路, 题解列表 2023年04月25日 0 点赞 0 评论 490 浏览 评分:0.0
编写题解 2797: 最高的分数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n]; for(int i=0…… 题解列表 2023年04月25日 0 点赞 0 评论 511 浏览 评分:0.0
1005题: 温度转换 摘要:# 自己写的代码 ```c #include int main() { float n; scanf("%f",&n); printf("c=%.2f",5*(n-32)/9); …… 题解列表 2023年04月25日 0 点赞 0 评论 480 浏览 评分:0.0
亲和串-手写函数解决(c语言) ```c#include#includecharstr1[100000];charstr2[100000];voidcycle_str(char*,intlen);intisvice_str(char*,char*);intmain(){while(~scanf("%s%s", 题解列表 2023年04月25日 0 点赞 0 评论 602 浏览 评分:9.9
编写题解 2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { int n; scanf("%d", &n); int a[n]; for (int…… 题解列表 2023年04月25日 0 点赞 0 评论 585 浏览 评分:0.0
[STL训练]寻梦(c语言gets过不了) 摘要:```c #include #include int main() { int n; scanf("%d", &n); getchar(); while (n--) {…… 题解列表 2023年04月25日 0 点赞 1 评论 632 浏览 评分:9.9
[STL训练]壮志难酬(c语言) 摘要:```c int main() { int t; scanf("%d", &t); while (t--) { char str[20] = { 0 }; int n;…… 题解列表 2023年04月25日 0 点赞 0 评论 612 浏览 评分:9.9
C语言训练-通俗易懂代码---亲密数 摘要:解题思路:第一步:把这3000个数的因子全部统计下来 第二步:利用循环在循环中寻找符合条件的数注意事项:参考代码:#include<stdio.h>int kiss_num(…… 题解列表 2023年04月25日 0 点赞 1 评论 848 浏览 评分:9.9