明灯三千,花开满城|

伍六柒-

园龄:3年6个月粉丝:9关注:6

10 2021 档案

Codeforces#750div2
摘要:###C-Grandma Capa Knits a Scarf ####题目描述 Grandma Capa决定去织一条围巾,她让Grandpa Sher给她制作一个图形,这个图形就是一个由小写的英文字母组成得字符串。Grandpa Sher写下了一个长度为 n 的字符串s。 Grandma Capa
75
0
0
自动规划路径实验
摘要:#自动规划路径 #include <bits/stdc++.h> using namespace std; const int N = 110; struct node { int x,y,fx,fy; int g,h,f; int setG(int ff) { int sum = abs(fx -
82
0
0
八数码
摘要:#八数码 #include <iostream> #include <queue> #include <cstring> #include <cstdio> #include <conio.h> using namespace std; struct node { int mp[9]; int x,
60
0
0
洛谷P2822组合数问题
摘要:##洛谷P2822组合数问题 ###题目描述 ###解题思路 由于 0 ⇐ i ⇐ n, 0 ⇐ j ⇐ min(i,m),我们要求出每一组 (i, j) 的组合数,判断其是否能被 k 整除,能则 ans++,否则 ans 不变。如果我们每求一次 (i, j) 就求一次组合数,那么一定会超时。这里有
92
0
0
点击右上角即可分享
微信分享提示
深色
回顶
展开