2799: 奥运奖牌计数 摘要:解题思路:注意事项:参考代码:m1 = m2 = m3 = 0n = int(input())for i in range(0,n): a = list(map(int,input().spli…… 题解列表 2023年02月06日 0 点赞 0 评论 591 浏览 评分:9.9
优质题解 1259: 送分题素数 摘要:#####**素数的概念:** 素数又称质数(prime number),有无限个。 一个大于1的自然数,除了1和它本身外, #####**不能被其他自然数(包括其它质数(素数))整除**…… 题解列表 2023年02月06日 0 点赞 2 评论 840 浏览 评分:9.9
1265: 青年歌手大奖赛_评委会打分 摘要:```cpp #include #include #include using namespace std; int a[99]; int main() { int n; …… 题解列表 2023年02月06日 0 点赞 0 评论 504 浏览 评分:9.9
1266: 马拦过河卒 摘要:```cpp #include using namespace std; int dp[17][17]; bool vis[17][17]; int dx[8]={-2,-2,-1,-1,1…… 题解列表 2023年02月06日 0 点赞 0 评论 343 浏览 评分:9.9
1875: 蓝桥杯2017年第八届真题-小数第n位(c++)10ms 摘要:解题思路:因为相除时每一次的余数要小于除数,即余数的个数是有限的.两个整数相除,商要么是整数,要么有限小数,要么是无限(循环)小数.注意事项:找出循环部分参考代码:#include<iostream>…… 题解列表 2023年02月06日 0 点赞 0 评论 294 浏览 评分:9.9
2803: 整数的个数 摘要:解题思路:注意事项:参考代码:a1 = a5 = a10 = 0k = int(input())l = list(map(int,input().split()))for i in l: if …… 题解列表 2023年02月06日 0 点赞 0 评论 418 浏览 评分:9.9
2749: Hello, World!(C++代码) 摘要:解题思路:直接输出即可注意事项:1.用英语符号 2.逗号后面有一个空格 3.注意大小写参考代码:#include<iostream>using na…… 题解列表 2023年02月07日 0 点赞 0 评论 622 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 标题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2023年02月07日 0 点赞 0 评论 270 浏览 评分:9.9
石头剪子布(利用strcmp函数) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>//建立结构体struct play{ char p1[100];//玩家1 char p2[100…… 题解列表 2023年02月07日 0 点赞 1 评论 660 浏览 评分:9.9
3060: 合并石子 摘要:## # 合并石子 #### ### 区间dp ------------ ##### 解题思路: ------------ f(i,j)表示将从第i堆石子到第j堆石子…… 题解列表 2023年02月07日 0 点赞 0 评论 427 浏览 评分:9.9