自定义函数之字符类型统计(C语言) 摘要:解题思路:注意事项:参考代码:# include <stdio.h># include <string.h>int main(){ char a[100]; int len, x, y, …… 题解列表 2022年11月22日 0 点赞 0 评论 239 浏览 评分:9.9
编写题解 1013: [编程入门]Sn的公式求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,n,m=0,Sn=0; scanf("%d",&n); for(i=…… 题解列表 2022年11月22日 0 点赞 0 评论 157 浏览 评分:0.0
自定义函数之字符串提取-详细明白 摘要:参考代码:# include <stdio.h># include <string.h>int f(char str1[], char str2[]){ int i, len, j = 0; …… 题解列表 2022年11月22日 0 点赞 0 评论 247 浏览 评分:9.9
1279: [NOIP2008T2]火柴棒等式 摘要:```python number = {0:6, 1:2, 2:5, 3:5, 4:4, 5:5, 6:6, 7:3, 8:7, 9:6} counts =0 def f(inte): …… 题解列表 2022年11月22日 0 点赞 0 评论 257 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int c,w=0,x=0,y=0,z=0; char a[200]; while((c=getchar())!…… 题解列表 2022年11月22日 0 点赞 0 评论 214 浏览 评分:9.9
编写题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,bei,j; int yue=0; scanf("%d%d",&a,&b); for(bei=1…… 题解列表 2022年11月22日 0 点赞 0 评论 142 浏览 评分:0.0
面向结果输出(要脸,别举报) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { printf("cock=0,hen=25,chicken=75\ncock=4,hen=18,chicke…… 题解列表 2022年11月22日 0 点赞 1 评论 684 浏览 评分:8.0
编写题解 1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int M,result; scanf("%d",&M); if(M>=0 && M<=100000) resu…… 题解列表 2022年11月22日 0 点赞 0 评论 158 浏览 评分:0.0
超详细通俗易懂C++,暴力求解 摘要:参考代码:#include <iostream> #include <math.h> using namespace std; int main() { int a,b; …… 题解列表 2022年11月22日 0 点赞 0 评论 226 浏览 评分:10.0
计算鞍点----通俗易懂好理解 摘要:解题思路: 对输入的数字形成的矩阵进行横向变量,找出其中的最大值,随后对该行进行竖向遍历,找出在横向最大的数在该列是否为最小,通过计数器进行判断是否为最小。参考代码:#include <stdio.h…… 题解列表 2022年11月22日 0 点赞 2 评论 655 浏览 评分:9.9