3023: 移动路线 摘要:解题思路:通过数学的方法,可得出:f[i][j]=f[i][j-1]+f[i-1][j]注意事项:参考代码:#include<bits/stdc++.h> using namespace std; …… 题解列表 2023年01月03日 0 点赞 0 评论 344 浏览 评分:9.9
C超简单方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,a,n,j,s=0,sum=0; scanf("%d",&a); s…… 题解列表 2023年01月03日 0 点赞 0 评论 338 浏览 评分:9.9
3021: Pell数列 摘要:解题思路:Pell数列DP方法!要就复制吧,爱就点赞吧!注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[1000005]=…… 题解列表 2023年01月03日 0 点赞 2 评论 708 浏览 评分:9.9
3022:流感传染DP 摘要:解题思路:可以DP,可以搜索。 要就复制吧,爱就点赞吧!注意事项:注意b结构体不要删,否自会直线传播。参考代码:#include<bits/stdc++.h> using namespace st…… 题解列表 2023年01月03日 0 点赞 0 评论 372 浏览 评分:9.9
2148: 信息学奥赛一本通T1320-均分纸牌 摘要:解题思路:必须要贪心,必须要贪心,必须要贪心,(重要的事说三遍)要做一个贪心一哥! 要就复制吧,爱就点赞吧!注意事项:参考代码:#include<bits/stdc++.h> using name…… 题解列表 2023年01月03日 0 点赞 0 评论 478 浏览 评分:9.9
IP判断 简单易懂scanf(c语言) 摘要:解题思路:1.输入地址2.scanf函数返回正确数据个数3.吃掉输入错误的数据,跟多出来的字符4.如果没有错误字符,但是输入的正确数据不满四个就输出N5.如果没有以上情况,当满足条件时输出Y,条件不满…… 题解列表 2023年01月03日 0 点赞 2 评论 611 浏览 评分:9.9
循环入门练习1 摘要:解题思路:用循环计算即可;注意事项:参考代码:#include<iostream> using namespace std; int main() { int s=0; fo…… 题解列表 2023年01月04日 0 点赞 0 评论 305 浏览 评分:9.9
2150: 信息学奥赛一本通T1322-拦截导弹问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int a[10000],l[10000],n=0,k=0;int x; …… 题解列表 2023年01月04日 0 点赞 0 评论 365 浏览 评分:9.9
C语言——题解 2906: 笨小猴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[101]; int b[26]={0},i,j; scanf("%s",a); …… 题解列表 2023年01月04日 0 点赞 0 评论 422 浏览 评分:9.9
2151: 信息学奥赛一本通T1323-活动选择 摘要:解题思路:贪心注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int n,x,z; struct huodong { int …… 题解列表 2023年01月04日 1 点赞 0 评论 374 浏览 评分:9.9