详细解释,成为高手第一步 摘要:解题思路:注意事项:参考代码:#include <stdio.h> //这是引入标准输入输出库,因为我们要使用 scanf 和 printf 函数。int main() { …… 题解列表 2024年11月19日 8 点赞 0 评论 1136 浏览 评分:0.0
信息学奥赛一本通T1314-过河卒 动态规划 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量,包括矩阵大小、中心点坐标和计数器 int n, m, …… 题解列表 2024年11月19日 0 点赞 0 评论 467 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d",&a); for(b=2;b<=a;b++) …… 题解列表 2024年11月19日 0 点赞 0 评论 684 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[10]; for(i=0;i<10;i++) { scanf("…… 题解列表 2024年11月19日 0 点赞 0 评论 484 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; int i,j=0; scanf("%s",a); for(i…… 题解列表 2024年11月19日 0 点赞 0 评论 743 浏览 评分:0.0
1100: 采药一眼丁真 摘要:解题思路:01背包注意事项:数组大小和动态规则参考代码:#include<stdio.h> #define max(x,y) ((x)>(y)?(x):(y)) int main(){ int…… 题解列表 2024年11月19日 2 点赞 0 评论 669 浏览 评分:0.0
集合的划分 递归 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; long long aaa(int n, int k) { // …… 题解列表 2024年11月19日 0 点赞 0 评论 751 浏览 评分:0.0
c语言string解法 摘要:解题思路:注意事项:注意字符串的表达参考代码:#include <stdio.h>#include <string.h>int main(){ int N; char S1[50],S2[…… 题解列表 2024年11月20日 0 点赞 0 评论 705 浏览 评分:0.0
向量点积计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,i,sum=0 ; int a[223223]={0},b[23244252]={0…… 题解列表 2024年11月20日 0 点赞 0 评论 291 浏览 评分:0.0
信息学奥赛一本通T1317-组合的输出,深搜 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 全局变量声明 int n, r, a[100] = {1}; // …… 题解列表 2024年11月20日 0 点赞 0 评论 687 浏览 评分:0.0