信息学奥赛一本通T1422-活动安排 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义结构体aaa,包含两个整数成员s和f struct aaa{ …… 题解列表 2024年11月17日 1 点赞 0 评论 403 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[101]; int i; gets(a); for(i=0;a[i]!=&…… 题解列表 2024年11月17日 0 点赞 0 评论 161 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[120]; char b[52]; int i,c=0,j; gets(a…… 题解列表 2024年11月17日 0 点赞 0 评论 303 浏览 评分:0.0
最普通的解题方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,a=0,b=0,c=0,d=0; for(i=1000;…… 题解列表 2024年11月17日 0 点赞 0 评论 157 浏览 评分:0.0
编写题解 2918: 成绩排序(sort) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<algorithm>using namespace std;// 定义学生结构体,包含姓名(字符数组形式,最多容纳…… 题解列表 2024年11月17日 0 点赞 0 评论 316 浏览 评分:0.0
[编程入门]自定义函数之字符串拷贝 摘要:解题思路:题目根本没要求复制,其实也用不着复制,只需要把指针定位到相应序号后输出即可注意事项:参考代码:#include <stdio.h> #include <stdlib.h> int m…… 题解列表 2024年11月18日 0 点赞 0 评论 244 浏览 评分:0.0
不懂可评论 摘要:解题思路:注意事项:参考代码:#简易 a=list(map(int,input().strip().split())) a[4]+=a[0]//3 a[1]+=a[0]//3 a[0]//…… 题解列表 2024年11月18日 0 点赞 0 评论 117 浏览 评分:0.0
2059: [STL训练]sort练习 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;bool compare(int a,int b){ …… 题解列表 2024年11月18日 1 点赞 0 评论 237 浏览 评分:0.0
[编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float i,M,N,c,d; scanf("%f %f",&M,&N); for(i=1;…… 题解列表 2024年11月18日 0 点赞 0 评论 135 浏览 评分:0.0
信息学奥赛一本通T1252-走迷宫,dfs做法! 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; // 定义全局变量 int a, b, h[50][50]; // a和b…… 题解列表 2024年11月18日 0 点赞 0 评论 283 浏览 评分:0.0