[编程入门]自定义函数之字符串连接 摘要:解题思路:太简单了,不用啥解题思路注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int f(char a[],char b[]){ puts(a)…… 题解列表 2021年12月30日 0 点赞 0 评论 624 浏览 评分:9.9
python,简单的循环与判断 摘要:解题思路:使用简单的for循环和if判断即可。注意事项:参考代码:list=[3,7,5,13,25,45,78,23,8,33,9,19,28,41,50]s = eval(input())if s…… 题解列表 2021年12月30日 0 点赞 0 评论 370 浏览 评分:9.9
1793: 玉龙学长买雪糕 摘要:解题思路:注意事项:参考代码:n = int(input()) s = [1] for i in range(n-1): s.append(s[-1]*2+1) print(sum(s…… 题解列表 2021年12月30日 0 点赞 0 评论 431 浏览 评分:9.9
编写题解 1034: [编程入门]自定义函数之数字分离 摘要:解题思路:没想到这样也能对注意事项:简便而粗暴参考代码:编写题解 #include<stdio.h>#include<stdlib.h>int fen(char a[1000]){ for(in…… 题解列表 2021年12月30日 0 点赞 1 评论 616 浏览 评分:9.9
1725: 统计字符-C语言 摘要:```c //统计字符 #include #include #include #define max 100 int main() { char s1[max], s…… 题解列表 2021年12月30日 0 点赞 0 评论 414 浏览 评分:0.0
1726: 字符串的反码-C语言 摘要:```c #include #include #include #define max 100 int main() { char s1[max]; whil…… 题解列表 2021年12月30日 0 点赞 0 评论 330 浏览 评分:0.0
循环调用方法刚开始老是不循环 摘要: import java.util.ArrayList; import java.util.Iterator; import java.util.Scanner; …… 题解列表 2021年12月30日 0 点赞 0 评论 703 浏览 评分:9.9
人见人爱A+B(简单易懂) 摘要:解题思路:注意事项:带码的时间复杂度有点长。参考代码:#include<stdio.h>int main(){ int a1,b1,c1; int a2,b2,c2; int a,b,c; i…… 题解列表 2021年12月30日 0 点赞 0 评论 337 浏览 评分:0.0
自定义函数之数字后移 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void main(){ int a[100],n,m,i; scanf("%d",&n); for(i=0;i<n;i++) { s…… 题解列表 2021年12月30日 0 点赞 0 评论 338 浏览 评分:9.9