2831: 画矩形 python (简单易懂) 摘要:解题思路:注意事项:参考代码:h,w,s,f=map(str,input().split())h=int(h)w=int(w)for i in range(1,h+1): if f == …… 题解列表 2024年04月02日 0 点赞 0 评论 407 浏览 评分:9.9
超简单,一看就懂的题解!!! 摘要:解题思路:看代码注释注意事项:注意,刚开始没有意识到,最后一次是没有弹起来的,所以最后一次是加零。参考代码:#include<bits/stdc++.h> using namespace std; …… 题解列表 2024年04月02日 0 点赞 0 评论 453 浏览 评分:9.9
要注意测试案例会包括空格 摘要:解题思路:注意事项:要用gets函数,测试数据里面有空格,%s接受不了参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]; …… 题解列表 2024年04月02日 1 点赞 0 评论 568 浏览 评分:9.9
c++十六进制转八进制 摘要:#include<bits/stdc++.h>using namespace std;const int N=100000;using ll=long long;char ch[]={'0&#…… 题解列表 2024年04月02日 0 点赞 0 评论 431 浏览 评分:9.9
回文串(简单易懂c语言) 摘要:解题思路:先把a数组倒叙赋值给b数组,接着比较a,b数组是否相等注意事项:参考代码: #include <stdio.h> 题解列表 2024年04月02日 1 点赞 0 评论 572 浏览 评分:9.9
蓝桥杯2023年第十四届省赛真题-接龙数列 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>using namespace std;int dp[10];int main(){ int n…… 题解列表 2024年04月02日 2 点赞 1 评论 1320 浏览 评分:9.9
字典解决法,简单 摘要:解题思路:用排除法来判断是否有解法,踢去不可能的,则是存在的注意事项:参考代码:s1 = input().strip() s2 = input().strip() s3 = input().str…… 题解列表 2024年04月02日 0 点赞 0 评论 392 浏览 评分:9.9
蓝桥杯2023年第十四届省赛真题-子串简写 摘要:解题思路:注意事项:参考代码:常人思路(超时)#include <bits/stdc++.h> using namespace std;int K;long long ans=0;string S;c…… 题解列表 2024年04月02日 2 点赞 0 评论 1121 浏览 评分:9.9
高级无磨损 崭新出厂 摘要:解题思路:注意事项:可以把成绩定义成int型参考代码:#include <stdio.h>struct Student{ char num[20]; char name[20]; float scor…… 题解列表 2024年04月02日 0 点赞 0 评论 367 浏览 评分:9.9
Jayden-[解释通俗易懂,一看就会! ] 自定义函数之通用位移 摘要:解题思路:在move函数中根据n的正负来决定value是左移还是右移: n >= 0: 右移。使用>>运算符将value右移n位,并使用<< 运算符将value左移bits-n位,最后将两个结…… 题解列表 2024年04月02日 1 点赞 0 评论 782 浏览 评分:9.9