c代码记录之DNA 摘要: #include int main() { int n,a,b,i,j,t; scanf("%d",&n); whil…… 题解列表 2023年12月21日 0 点赞 0 评论 508 浏览 评分:0.0
二级C语言-进制转换 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { i…… 题解列表 2023年12月21日 2 点赞 0 评论 725 浏览 评分:0.0
c代码记录之弟弟的作业--输入问题及一些调试 #include#include#includeintmain(){intqian,hou,sum=0;charyunsuan,jieguo[4],wenhao[2]="?";while(~scanf("%d%c%d=%s",&qian,&yunsuan, 题解列表 2023年12月21日 0 点赞 0 评论 530 浏览 评分:0.0
c代码记录之数字游戏 本质上是一道挺水的题,浅表做题过程n:报数人数k:报到(k-1)时,下一次从0开始报数t:栋栋报过的次数sum:栋栋报过的数之和find1假设不从零重报,第m次报数为baoshu=1+1+2+3+4+5+6+...+(m-1)从零重报,只需对baoshu取模操作即为第m次实际报数:baoshu%k所以 题解列表 2023年12月21日 1 点赞 0 评论 617 浏览 评分:0.0
最长最短单词(用二维数组存储,把每个单词分隔开来,就好做多了) 参考代码:```c#include#includeintmain(){chara[201][101];intk=0;intmax=0,max_index=0,min=100,min_index=0;//四个变量,一步到位while(~scanf("%s", 题解列表 2023年12月20日 0 点赞 0 评论 519 浏览 评分:9.9
密码破译(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char str[5]; int i; scanf("%s",str); for(i=0…… 题解列表 2023年12月20日 0 点赞 0 评论 466 浏览 评分:0.0
三数找最大(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); max=…… 题解列表 2023年12月20日 0 点赞 0 评论 501 浏览 评分:0.0
Hello World (c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ printf("**************************\n"); printf("Hello Wo…… 题解列表 2023年12月20日 0 点赞 0 评论 493 浏览 评分:9.9
多组a+b求和(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d",&a,&b)!=EOF) { …… 题解列表 2023年12月20日 0 点赞 0 评论 540 浏览 评分:0.0
血压,雪鸭,学鸭 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n;//行数 scanf("%d",&n); int i,j=0,k=0; int a,b; int c…… 题解列表 2023年12月20日 0 点赞 0 评论 403 浏览 评分:0.0