1265: 青年歌手大奖赛_评委会打分 摘要:```cpp #include #include #include using namespace std; int a[99]; int main() { int n; …… 题解列表 2023年02月06日 0 点赞 0 评论 581 浏览 评分: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 评论 404 浏览 评分:9.9
1875: 蓝桥杯2017年第八届真题-小数第n位(c++)10ms 摘要:解题思路:因为相除时每一次的余数要小于除数,即余数的个数是有限的.两个整数相除,商要么是整数,要么有限小数,要么是无限(循环)小数.注意事项:找出循环部分参考代码:#include<iostream>…… 题解列表 2023年02月06日 0 点赞 0 评论 375 浏览 评分: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 评论 479 浏览 评分:9.9
2749: Hello, World!(C++代码) 摘要:解题思路:直接输出即可注意事项:1.用英语符号 2.逗号后面有一个空格 3.注意大小写参考代码:#include<iostream>using na…… 题解列表 2023年02月07日 0 点赞 0 评论 692 浏览 评分: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 评论 325 浏览 评分:9.9
石头剪子布(利用strcmp函数) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>//建立结构体struct play{ char p1[100];//玩家1 char p2[100…… 题解列表 2023年02月07日 0 点赞 1 评论 727 浏览 评分:9.9
3060: 合并石子 摘要:## # 合并石子 #### ### 区间dp ------------ ##### 解题思路: ------------ f(i,j)表示将从第i堆石子到第j堆石子…… 题解列表 2023年02月07日 0 点赞 0 评论 505 浏览 评分:9.9
不用函数,不用数组,轻轻松松get 摘要:解题思路:不用函数,不用数组注意事项:参考代码:#include<stdio.h>int main(){ int n,a,i,c,d,max,min; c=1000; d=0; …… 题解列表 2023年02月08日 0 点赞 0 评论 637 浏览 评分:9.9
合法的标识符 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i=0; int flag; char a[30]; gets(a);//接收字…… 题解列表 2023年02月08日 0 点赞 0 评论 601 浏览 评分:9.9