题解列表
2811: 救援(Python)
摘要:解题思路:注意事项:参考代码:from decimal import *
n = int(input())
t0 = 0
while True:
try:
x,y,num=map(in……
魔板(BFS+map去重)
摘要:解题思路:BFS+map去重,用map存储操作序列。
BFS算法通过对当前状态进行操作,并将所有可能的下一状态加入队列,不断扩展状态空间直到找到目标状态。哈希表用于存储操作序列,避免重复搜索相同的状……
编写题解 3012: 分苹果
摘要:编写题解 3012: 分苹果
```
#include
using namespace std;
int main()
{
int n;
cin>>n;
cout……
编写题解 2772: 苹果和虫子(简单题)
摘要:####秒杀题,随便写
```
#include
using namespace std;
int main()
{
int n,x,y;
cin>>n>>x>>y;
int a……
编写题解 1084: 用筛法求之N内的素数(so easy)
摘要:####莫名其妙的就写完了,说实话我都不知道怎么写出来的,就这么莫名其妙的过了。可能是素数题写多了,脑袋没动,手就帮忙写完了。
```
#include
using namespace std;……
级数求和.......
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int k,i; double s=.0 ; scanf("%d",&k) ; for(i=1;;i++){ ……