ASCII字符和数字之间的转换 摘要:解题思路: 在 C 语言中,字符常量可以直接作为整数参与运算,因为它在内存中存储的就是对应的 ASCII 码值。同样,一个整数也可以作为字符…… 题解列表 2025年02月20日 2 点赞 0 评论 1157 浏览 评分:0.0
有坑,a后面的数还要输出 解题思路:注意事项:参考代码:#includeusingnamespacestd;constintt=1e6;inta[t],b[t]={0};voidadd(inta[],intm,intb[],intn){intx=m;for(inti=0;i 题解列表 2025年02月20日 0 点赞 0 评论 469 浏览 评分:0.0 复习观看wwwwwwwwwwwwwww 摘要:#include#include#include#include#include#includeusing namespace std;int main(){ in…… 题解列表 2025年02月20日 0 点赞 0 评论 433 浏览 评分:0.0 矩形面积交 解题思路:通过画图可知,两矩形的边的表示方法注意事项:参考代码:a=list(map(float,input().split()))b=list(map(float,input().split()))x1,y1,x2,y2=al=min(x1, 题解列表 2025年02月20日 0 点赞 0 评论 489 浏览 评分:0.0 分数线划定 摘要:```cpp#include #include using namespace std;struct interviewer{ int number; int score;…… 题解列表 2025年02月20日 0 点赞 0 评论 593 浏览 评分:0.0 比较容易理解的代码 解题思路:注意事项:参考代码:#includeusingnamespacestd;inta[105][105];voidmove(int&x,int&y,char&s,int&m,int&n,inta[105][105]){if(a[x][y]==0&&s=='L 题解列表 2025年02月20日 0 点赞 0 评论 611 浏览 评分:0.0 递推公式:成虫繁殖 摘要:```cpp/*题目描述科学家在热带森林中发现了一种特殊的昆虫,这种昆虫的繁殖能力很强。每对成虫过x个月产y对卵,每对卵要过两个月长成成虫。假设每个成虫不死,第一个月只有一对成虫,且卵长成…… 题解列表 2025年02月21日 0 点赞 0 评论 777 浏览 评分:0.0 3222: 蓝桥杯2024年第十五届省赛真题-回文数组 解题思路:注意事项:参考代码:n=int(input())arr=list(map(int,input().split()))length=int(len(arr)/2)a=[0]*lengthb=[0]*lengthcount=0foriinrange(length):a[i]=arr[i]b[i] 题解列表 2025年02月21日 0 点赞 0 评论 1137 浏览 评分:0.0 进制练习之十六进制转八进制C++/乱搞 摘要:当然,第一种方法是乱搞:```cpp#includeusing namespace std;int main(){ int a; printf("%o\n", a)…… 题解列表 2025年02月21日 0 点赞 0 评论 486 浏览 评分:0.0 明明的随机数(使用unordered_set和sort) 摘要:> unordered_set可以去重,但是不能用cin输入,要用**insert**> sort排序,默认升序。***unordered_set不能用sort***,先复制到vector中…… 题解列表 2025年02月21日 2 点赞 0 评论 715 浏览 评分:0.0 « 12...5768576957705771577257735774...59185919 »
复习观看wwwwwwwwwwwwwww 摘要:#include#include#include#include#include#includeusing namespace std;int main(){ in…… 题解列表 2025年02月20日 0 点赞 0 评论 433 浏览 评分:0.0
矩形面积交 解题思路:通过画图可知,两矩形的边的表示方法注意事项:参考代码:a=list(map(float,input().split()))b=list(map(float,input().split()))x1,y1,x2,y2=al=min(x1, 题解列表 2025年02月20日 0 点赞 0 评论 489 浏览 评分:0.0
分数线划定 摘要:```cpp#include #include using namespace std;struct interviewer{ int number; int score;…… 题解列表 2025年02月20日 0 点赞 0 评论 593 浏览 评分:0.0
比较容易理解的代码 解题思路:注意事项:参考代码:#includeusingnamespacestd;inta[105][105];voidmove(int&x,int&y,char&s,int&m,int&n,inta[105][105]){if(a[x][y]==0&&s=='L 题解列表 2025年02月20日 0 点赞 0 评论 611 浏览 评分:0.0
递推公式:成虫繁殖 摘要:```cpp/*题目描述科学家在热带森林中发现了一种特殊的昆虫,这种昆虫的繁殖能力很强。每对成虫过x个月产y对卵,每对卵要过两个月长成成虫。假设每个成虫不死,第一个月只有一对成虫,且卵长成…… 题解列表 2025年02月21日 0 点赞 0 评论 777 浏览 评分:0.0
3222: 蓝桥杯2024年第十五届省赛真题-回文数组 解题思路:注意事项:参考代码:n=int(input())arr=list(map(int,input().split()))length=int(len(arr)/2)a=[0]*lengthb=[0]*lengthcount=0foriinrange(length):a[i]=arr[i]b[i] 题解列表 2025年02月21日 0 点赞 0 评论 1137 浏览 评分:0.0
进制练习之十六进制转八进制C++/乱搞 摘要:当然,第一种方法是乱搞:```cpp#includeusing namespace std;int main(){ int a; printf("%o\n", a)…… 题解列表 2025年02月21日 0 点赞 0 评论 486 浏览 评分:0.0
明明的随机数(使用unordered_set和sort) 摘要:> unordered_set可以去重,但是不能用cin输入,要用**insert**> sort排序,默认升序。***unordered_set不能用sort***,先复制到vector中…… 题解列表 2025年02月21日 2 点赞 0 评论 715 浏览 评分:0.0