发表评论取消回复
相关阅读
相关 Por Costel and the Match Gym - 100923H(经典种类并查集)
Por Costel and the Match Gym - 100923H 题目链接:[https://vjudge.net/problem/Gym-100923H]
相关 GYM 100685 K
乱搞题 统计每一个不是magic word的单词,然后每个make\_pair 然后按照公式计算答案。 因为这里是乱序的统计make\_pair的情况,所以如果相邻
相关 leetcode-258.add digits/Digital root
leetcode-258.Add Digits Given a non-negative integer num, repeatedly add all its digi
相关 Gym - 101086A (待续)
我的AC代码:G++ 405ms include<algorithm> //AC include<cstdio> usin
相关 Multiplying Digits Gym - 101490H
Think: 1知识点:map + 思维 + 剪枝 2题意:y为x在b进制下的各位数的乘积,输入b y,求满足的最小x 3方法: (1):先得到y小于b的因子,
相关 Gym - 101522H Hit!
H. Hit! time limit per test 1.0 s memory limit per test 256 MB input standard inpu
相关 Gym - 101201H
![70][] 题意:有k个区间,用他们填满1~n,不允许重叠,问留下的空隙最少是多少 思路:可以从两方面考虑,第一个是正面考虑,转移方程dp\[i\]=min(dp\[j
相关 gym102174 B 炼金术
include <bits/stdc++.h> define N 400005 using namespace std; int tr
相关 Revolving Digits
算法: 扩展KMP + KMP找循环节 ![ContractedBlock.gif][] ![ExpandedBlockStart.gif][] inclu
还没有评论,来说两句吧...