2914: 铺地毯 ```#includeusingnamespacestd;constintN=10010;inta[N],b[N],g[N],k[N];intmain(){intn;cin>>n;for(inti=1;i>a[i]>>b[i]>>g[i]>>k[i];}intx, 题解列表 2023年12月24日 0 点赞 0 评论 419 浏览 评分:6.0
2905: 最大值和最小值的差 摘要:``` #include using namespace std; const int N=10010; int a[N],n,b,e,h; int main() { cin>>n; …… 题解列表 2023年12月26日 0 点赞 0 评论 531 浏览 评分:6.0
编写题解 2792: 三角形判断,禁止抄答案,否则第2天被雷劈 摘要:解题思路:注意事项:禁止抄答案,否则第2天被雷劈参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,s…… 题解列表 2023年12月31日 0 点赞 0 评论 547 浏览 评分:6.0
2789: 骑车与走路2789: 编写题解 2789: 骑车与走路 标题骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路2789: 骑车与走路27 摘要:解题思路:dsvrfgdsf注意事项:adfvgdsvvsfdvr参考代码:#include <bits/stdc++.h>using namespace std;int main(){double …… 题解列表 2024年01月06日 0 点赞 0 评论 602 浏览 评分:6.0
编写题解 3040: An Easy Problem 摘要:解题思路:就那样注意事项:参考代码:#include <stdio.h>#include <stdbool.h>int js(int i) { int t = 0; while (i > …… 题解列表 2024年01月07日 0 点赞 0 评论 488 浏览 评分:6.0
1480: 模拟计算器1480: 模拟计算器1480: 模拟计算器1480: 模拟计算器1480: 模拟计算器1480: 模拟计算器1480: 模拟计算器1480: 模拟计算器1480: 模拟计算器1 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; char c; c …… 题解列表 2024年01月07日 0 点赞 0 评论 587 浏览 评分:6.0
c++买笔c++买笔c++买笔c++买笔c++买笔 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int x; cin>>x; if(x%4==0)…… 题解列表 2024年01月07日 0 点赞 1 评论 532 浏览 评分:6.0
题解 2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int i,n; cin>>n; for…… 题解列表 2024年01月08日 0 点赞 0 评论 378 浏览 评分:6.0
题解 2000: 偶数列举 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a; cin>>a; for(int i=…… 题解列表 2024年01月08日 0 点赞 0 评论 540 浏览 评分:6.0
病毒virus(拓扑排序) 摘要:解题思路:单词依字典序排列, 因此可以判断单词中字符是否存在拓扑序, 如果存在, 则遍历病毒字符串中的字符, 如果每一个字符都存在映射的索引, 则依照索引0 为‘a’ 依次输出, 否则输出0;注意事项…… 题解列表 2024年01月08日 1 点赞 0 评论 740 浏览 评分:6.0