2018年4月16日
摘要:
链接:https://www.nowcoder.com/acm/contest/91/E来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld题目描述 小Y买了很多...
阅读全文
posted @ 2018-04-16 17:00
zitian246
阅读(113)
推荐(0)
摘要:
链接:https://www.nowcoder.com/acm/contest/91/L来源:牛客网K序列时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld题目描述给一个数组...
阅读全文
posted @ 2018-04-16 16:48
zitian246
阅读(191)
推荐(0)
2018年4月12日
摘要:
The 15-puzzle has been around for over 100 years; even if you don't know it by that name, you've seen it. It is constructed with 15 sl...
阅读全文
posted @ 2018-04-12 17:54
zitian246
阅读(174)
推荐(0)
2018年4月11日
摘要:
#include#include#define inf 0x3f3f3f3f#includeusing namespace std;int n,m;int map[500][500];int vis[500];int dfs(int s,int t,int f){ ...
阅读全文
posted @ 2018-04-11 10:17
zitian246
阅读(125)
推荐(0)
2018年4月7日
摘要:
链接:http://codeforces.com/problemset/problem/961/CMagnus decided to play a classic chess game. Though what he saw in his locker shocked...
阅读全文
posted @ 2018-04-07 21:11
zitian246
阅读(207)
推荐(0)
摘要:
链接:http://poj.org/problem?id=2342Anniversary partyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10326 Accepted: 5913Descri...
阅读全文
posted @ 2018-04-07 10:50
zitian246
阅读(93)
推荐(0)
摘要:
链接:https://www.nowcoder.com/acm/contest/80/B来源:牛客网时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld题目描述 在文某...
阅读全文
posted @ 2018-04-07 09:29
zitian246
阅读(170)
推荐(0)
2018年4月6日
摘要:
操作模板:for (int len = 1; len #include#include#define ll long longusing namespace std;char s[120];int a[120];int dp[120][120];int main(){...
阅读全文
posted @ 2018-04-06 14:46
zitian246
阅读(110)
推荐(0)
2018年3月24日
摘要:
如【图1.jpg】, 有12张连在一起的12生肖的邮票。现在你要从中剪下5张来,要求必须是连着的。(仅仅连接一个角不算相连)比如,【图2.jpg】,【图3.jpg】中,粉红色所示部分就是合格的剪取。请你计算,一共有多少种不同的剪取方法。请填写表示方案数目的整数。注意:...
阅读全文
posted @ 2018-03-24 19:35
zitian246
阅读(266)
推荐(0)
2018年3月22日
摘要:
N cities named with numbers 1 ... N are connected with one-way roads. Each road has two parameters associated with it : the road lengt...
阅读全文
posted @ 2018-03-22 21:40
zitian246
阅读(130)
推荐(0)