题解 2789: 骑车与走路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; scanf("%d", &a); if ((10*a/12)>(10*a/30+…… 题解列表 2023年08月17日 0 点赞 0 评论 524 浏览 评分:0.0
题解 2790: 分段函数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a; scanf("%f", &a); if ((int)a>=0&&(int)a…… 题解列表 2023年08月17日 0 点赞 0 评论 471 浏览 评分:0.0
题解 2791: 计算邮资 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a; char b; scanf("%d %c", &a, &b); if (…… 题解列表 2023年08月17日 0 点赞 0 评论 433 浏览 评分:0.0
[python]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:my_str = input() letter = 0 num = 0 space = 0 other = 0 for i in my_str: if…… 题解列表 2023年08月18日 0 点赞 0 评论 338 浏览 评分:0.0
又是一个动态规划的题 摘要:#include<iostream> using namespace std; int main() { string s; while(getline(cin,s)) …… 题解列表 2023年08月18日 0 点赞 0 评论 447 浏览 评分:0.0
1303: 统计数字(C++ STL) 摘要:# STL map ```c++ #include #include #include #include #include using namespace std; mapnums; …… 题解列表 2023年08月18日 0 点赞 0 评论 516 浏览 评分:0.0
1177: 三角形,C++动态规划实现 摘要:#1177: 三角形,C++动态规划实现 ####题目描述: [题目 1177: 三角形](https://www.dotcpp.com/oj/problem1177.html "题目 1177:…… 题解列表 2023年08月18日 0 点赞 0 评论 577 浏览 评分:0.0
用二维数组思想打印dna 摘要:解题思路:注意事项:需要单独打印第一行,否则出现的DNA会有重复部分参考代码:#include<stdio.h>int main(){ int i,j,a,b,n; scanf("%d",&n); w…… 题解列表 2023年08月18日 0 点赞 0 评论 434 浏览 评分:0.0
使用链表实现的成绩统计,无长度限制 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #define Maxsize 100 typedef struct { c…… 题解列表 2023年08月19日 0 点赞 0 评论 568 浏览 评分:0.0
python天数计算——挑战最简解 摘要:python就不讲什么结构体了,咱没有这玩意参考代码:year, month, day = map(int, input().split()) days1 = [31, 28, 31, 30, 31…… 题解列表 2023年08月19日 1 点赞 0 评论 421 浏览 评分:0.0