题解 2791: 计算邮资 摘要:```cpp#includeusing namespace std;int main() { int n; char y; cin >> n >> …… 题解列表 2025年03月16日 1 点赞 0 评论 657 浏览 评分: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
编写题解 1770: [编程入门]链表之报数问题 摘要:```c#include struct Student{ int id; struct Student *next;};int main() { int n;…… 题解列表 2025年03月16日 3 点赞 0 评论 799 浏览 评分:0.0
1771: [编程入门]链表之节点删除 摘要:```c#include #include struct Student { int id; int score; struct Student *nex…… 题解列表 2025年03月17日 0 点赞 0 评论 735 浏览 评分:0.0
暴力解法--一行代码搞定 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string s; …… 题解列表 2025年03月17日 2 点赞 0 评论 990 浏览 评分:0.0
常规解法---------------------------------------------------------- 解题思路:注意事项:参考代码:#include#includeusingnamespacestd;constintN=1010;chara[N],b[N],c[N];intmain(){scanf("%s%s", 题解列表 2025年03月17日 0 点赞 0 评论 665 浏览 评分:0.0
使用字典映射解决封闭图形问题 摘要:解题思路:注意事项:参考代码:def sum_town(num): #定义函数,以num为参照物 a={'0':1,'4':1,'6&…… 题解列表 2025年03月17日 2 点赞 0 评论 799 浏览 评分:0.0
2789: 骑车与走路 摘要:解题思路:注意事项:参考代码:#include<stdio.h>intmain(){int&…… 题解列表 2025年03月17日 0 点赞 0 评论 738 浏览 评分:0.0
for循环和while循环 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct Node{ int id; int…… 题解列表 2025年03月17日 0 点赞 0 评论 923 浏览 评分:0.0
求和供大家参考 摘要:解题思路:注意事项:参考代码:#include<iostream>usingnamespacestd;inta[200000];int&nb…… 题解列表 2025年03月18日 2 点赞 0 评论 701 浏览 评分:0.0