编程小白能看懂的c++98 摘要:解题思路:注意事项:参考代码:#include #include using namespace std; int main() { int q = 0; cin >> q; char …… 题解列表 2023年01月15日 0 点赞 0 评论 282 浏览 评分:0.0
2783: 判断是否为两位数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d",&a); if(a/100==0&&a/10>0) …… 题解列表 2023年01月15日 0 点赞 0 评论 367 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d %d %d",&a,&b,&c); if…… 题解列表 2023年01月15日 0 点赞 0 评论 304 浏览 评分:0.0
1151: C语言训练-计算一个整数N的阶乘 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int product(int n){ int s; if(n==0) return s=1; else …… 题解列表 2023年01月15日 0 点赞 0 评论 298 浏览 评分:0.0
1094基础解法(Python) 摘要:解题思路:注意split()的用法即可注意事项:空一行是print(),空两行是print('\n')参考代码:n = int(input())lst = []while True :…… 题解列表 2023年01月15日 0 点赞 0 评论 477 浏览 评分:0.0
为啥这样通不过呀(我不理解) 摘要: #include #include #include int main() { char a[20]; gets(a); …… 题解列表 2023年01月15日 0 点赞 0 评论 536 浏览 评分:0.0
字符串内排序 (选择排序) 摘要:解题思路:本题采用选择排序法。第一趟找出字符串中最小的字符,然后从该字符后重新找到最小字符。以此类推。注意事项:参考代码:char a[200];// int n; char t; while (ge…… 题解列表 2023年01月15日 0 点赞 0 评论 403 浏览 评分:0.0
Sn的公式求和 摘要:解题思路:在Sn中,加和项数由n决定,最后一项为‘2’*n,对n+1建立for循环依次得出Sn中每一项,最后加和。参考代码:n = int(input())m = 0for i in range(1,…… 题解列表 2023年01月15日 0 点赞 0 评论 428 浏览 评分:0.0
编写题解 1015: [编程入门]求和训练 摘要:解题思路:建立三个for循环依次求和a,b,c参考代码:a, b, c = map(int, input().split())A = 0for i in range(1, a+1): A += …… 题解列表 2023年01月15日 0 点赞 0 评论 348 浏览 评分:0.0
蓝桥杯2020年第十一届省赛真题-成绩分析 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a[10000];int main(){ int n,i,max,min; scanf("%d",&n); …… 题解列表 2023年01月15日 0 点赞 0 评论 652 浏览 评分:0.0