1019 [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:s = input().split(' ')m = int(s[0])n = int(s[1])co = 0for i in range(n): i…… 题解列表 2022年05月08日 0 点赞 0 评论 457 浏览 评分:0.0
勇士不再回头,数组举高 摘要:解题思路:用数组比用switch强注意事项:要开心参考代码:#include<stdio.h>int main(){ int i=2019,j,k,l,a[13]={0,0,31,59,90,120,…… 题解列表 2022年05月08日 0 点赞 1 评论 337 浏览 评分:8.2
题目 1018: [编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:n = eval(input())l1 = [1,2,3]co = 0for i in range(3,n+1): l1.append(l1[i-1]+l1[i-2…… 题解列表 2022年05月08日 0 点赞 0 评论 336 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 摘要:解题思路:因为有四种类型的字符需要统计,所以我们可以建立四个累加器来计算,同时运用for语句扫遍字符串,用if语句判断四种类型(islower(s[i])||isupper(s[i]),isdigit…… 题解列表 2022年05月08日 0 点赞 0 评论 430 浏览 评分:9.9
c++格子刷油漆 摘要:解题思路:https://www.freesion.com/article/4385447958/参考代码:#include<iostream> using namespace std; int …… 题解列表 2022年05月08日 0 点赞 0 评论 605 浏览 评分:2.0
1159: 偶数求和 简单易懂的优质题解 摘要:解题思路:巧用循环注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n = 0, m = 0 ,g; while(cin …… 题解列表 2022年05月08日 0 点赞 0 评论 360 浏览 评分:0.0
信息学奥赛一本通T1448-电路维修 摘要:``` /* 本题使用了双端队列进行解决 */ #include #define x first #define y second using namespace std;…… 题解列表 2022年05月08日 0 点赞 0 评论 789 浏览 评分:9.9
字符串拷贝 摘要: #include #include #define Max 1000 char * Copy(char A[Max],char B[Max] ,i…… 题解列表 2022年05月08日 0 点赞 0 评论 407 浏览 评分:0.0
编写题解 2024: 链表删除练习--STL 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<deque> using namespace std; void print_Deque(deque<int…… 题解列表 2022年05月08日 0 点赞 0 评论 307 浏览 评分:0.0
我的笨蛋方法 摘要:```c #include #define Max 1000 int main(){ int n,num[Max]; scanf("%d",&n); int i; for(i=…… 题解列表 2022年05月08日 0 点赞 0 评论 329 浏览 评分:0.0