摘要:
D. Robot Vacuum Cleaner time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Pushok the dog ha 阅读全文
摘要:
C. Cave Painting time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Imp is watching a docume 阅读全文
摘要:
B. Magic Forest time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Imp is in a magic forest, 阅读全文
摘要:
#1690 : AEIOU 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定一个只包含aeiou的字符串S,请你找到其中的最长的子序列,满足: 1. 所有的a都在e和i之前,所有的e都在i之前; 2. 所有的o都在u之前。 输出最长满足条件的子序列的长度。 例如对于 阅读全文
摘要:
#1687 : 寻找切线 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定平面上N个点P1=(X1, Y1), P2=(X2, Y2), ... PN=(XN, YN)。 请你从中找到两个不同的点Pi和Pj满足:其他所有点都在Pi和Pj连线的同一侧(可以在连线上)。 阅读全文
摘要:
#1686 : 互补二元组 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定N个整数二元组(X1, Y1), (X2, Y2), ... (XN, YN)。 请你计算其中有多少对二元组(Xi, Yi)和(Xj, Yj)满足Xi + Xj = Yi + Yj且i < 阅读全文
摘要:
分析:状态压缩DP。 #include<cstdio> #include<cstring> #include<algorithm> using namespace std; int w[2000],dp[1001][1<<11]; /*int sum(int x) { int ans=0; whil 阅读全文
摘要:
Hie with the Pie Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 8467 Accepted: 4628 Description The Pizazz Pizzeria prides itself in deliv 阅读全文
摘要:
Corn Fields Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 17742 Accepted: 9340 Description Farmer John has purchased a lush new rectangul 阅读全文
摘要:
1101. 子矩阵求和 (Standard IO) 时间限制: 1000 ms 空间限制: 262144 KB 具体限制 1101. 子矩阵求和 (Standard IO) 时间限制: 1000 ms 空间限制: 262144 KB 具体限制 1101. 子矩阵求和 (Standard IO) 时间 阅读全文