解方程-------------------------------------------------------------------------------- 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <cmath>using namespace std;int main(){ &…… 题解列表 2025年03月17日 2 点赞 0 评论 993 浏览 评分:10.0
1771: [编程入门]链表之节点删除 摘要:```c#include #include struct Student { int id; int score; struct Student *nex…… 题解列表 2025年03月17日 0 点赞 0 评论 734 浏览 评分:0.0
编写题解 1770: [编程入门]链表之报数问题 摘要:```c#include struct Student{ int id; struct Student *next;};int main() { int n;…… 题解列表 2025年03月16日 3 点赞 0 评论 798 浏览 评分:0.0
小白的bfs与dfs代码(dfs超时了555,用/**/略掉了) 摘要:```cpp#includeusing namespace std;struct pos//能记录步数与位置的结构体{ int x;//第n行 int y;//第m列 …… 题解列表 2025年03月16日 0 点赞 0 评论 788 浏览 评分:0.0
题解 2791: 计算邮资 摘要:```cpp#includeusing namespace std;int main() { int n; char y; cin >> n >> …… 题解列表 2025年03月16日 1 点赞 0 评论 656 浏览 评分:0.0
题解 2836: 数组逆序重放 解题思路:在正向循环后需要有有一个反向循环注意事项:参考代码:#includeusingnamespacestd;typedeflonglongll;constintN=1e7;lla[N];intmain(){lln;cin>>n;for(inti=1;i<=n;i++ 题解列表 2025年03月16日 0 点赞 0 评论 716 浏览 评分:0.0
2836: 数组逆序重放题解 解题思路:注意事项:参考代码#includeusingnamespacestd;typedeflonglongll;constintN=1e7;lla[N];intmain(){lln;cin>>n;for(inti=1;i<=n;i++)cin>>a[i];for(in 题解列表 2025年03月16日 0 点赞 0 评论 693 浏览 评分:10.0
2836: 数组逆序重放题解 解题思路:注意事项:参考代码#includeusingnamespacestd;typedeflonglongll;constintN=1e7;lla[N];intmain(){lln;cin>>n;for(inti=1;i<=n;i++)cin>>a[i];for(in 题解列表 2025年03月16日 0 点赞 0 评论 598 浏览 评分:0.0
编写题解 1997: 日期换算 解题思路:使用月份数组注意事项:输出时不只要输出sum,还要输出y。参考代码:#includeusingnamespacestd;typedeflonglongll;constintN=1e7;lla[N]={0, 题解列表 2025年03月16日 0 点赞 0 评论 461 浏览 评分:0.0
1997: 日期换算题解 解题思路:注意事项:参考代码:#includeusingnamespacestd;typedeflonglongll;constintN=1e7;lla[N]={0,31,28,31,30,31,30,31,31, 题解列表 2025年03月16日 0 点赞 0 评论 482 浏览 评分:0.0