1050: [编程入门]结构体之成绩记录 摘要:```cpp #include using namespace std; struct Student { string num,name; int Math,Engl…… 题解列表 2023年02月24日 0 点赞 1 评论 218 浏览 评分:9.9
1049: [编程入门]结构体之时间设计 摘要:```cpp #include using namespace std; struct Date { int year,mouth,day; }; int IsLeapY…… 题解列表 2023年02月24日 0 点赞 1 评论 1260 浏览 评分:9.9
c++ 详细题解 摘要:解题思路:假设每一组输入分别为ai1 ,ai2 ,bi , Ai=ai1+ai2(每一组的时间总和减去离开教室的时间) , Ki=Ai+bi=ai1+ai2+bi(每一组的时间总和) …… 题解列表 2023年02月23日 0 点赞 1 评论 597 浏览 评分:9.9
借鉴楼上的 存下来 以后多看看 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char a[1000];int b[1000],c[1000],d[1000],k…… 题解列表 2023年02月23日 0 点赞 0 评论 328 浏览 评分:0.0
蓝桥杯2022年第十三届省赛真题-质因数个数 摘要:解题思路:该问题基于算数基本定理对于任意一个正整数 ,可以将它分解成 个质因子的乘积例如36=2*2*2*3*320=2*2*5由此定理可以发现,对于正整数 来说,它的任意一个因数 都是它质因数…… 题解列表 2023年02月23日 2 点赞 1 评论 1152 浏览 评分:8.2
记录解题过程。 摘要:解题思路: 注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double x1, x2,x3,x4; d…… 题解列表 2023年02月23日 0 点赞 0 评论 318 浏览 评分:0.0
编写题解 2799: 奥运奖牌计数 摘要:解题思路:sum的用法注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n; cin>>n; int a[n]…… 题解列表 2023年02月23日 0 点赞 0 评论 304 浏览 评分:6.0
编写题解 2788: 晶晶赴约会 摘要:解题思路:用if语句借此题注意事项:只是1,3,5输出No,6,7也输出yes参考代码:#include<iostream>using namespace std;int main(){ int…… 题解列表 2023年02月23日 0 点赞 0 评论 283 浏览 评分:9.9
1042: [编程入门]电报加密 摘要:#此题和上一题类似,也需要接收空格,同时还需要进行字母加密,难度稍高。 ```cpp #include #include #include using namespace std; /…… 题解列表 2023年02月23日 0 点赞 1 评论 319 浏览 评分:9.9
1196: 去掉空格 摘要:#这个代码是适配一次性输入的代码,对于dev或者vs等运行环境一行一行输入的话可能会出现输入一次转换一次的问题,稍微改进即可。 ```cpp #include #include #includ…… 题解列表 2023年02月23日 0 点赞 1 评论 265 浏览 评分:9.9