摘要: Home PageWeb ContestsProblemsRanklistStatusStatistics 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int c[100]; 9 int s[100];10 int ans;11 int bitmap[100];12 int f[100][70][70],h;13 char str[100];14 int n,m,i,j,k;15 void init()16 {17 cin>>n>>m 阅读全文
posted @ 2013-08-03 18:39 persistent codeants 阅读(284) 评论(0) 推荐(0)
摘要: Let us define a regular brackets sequence in the following way:Empty sequence is a regular sequence.If S is a regular sequence, then (S) and [S] are both regular sequences.If A and B are regular sequences, then AB is a regular sequence.For example, all of the following sequences of characters are re 阅读全文
posted @ 2013-08-03 13:53 persistent codeants 阅读(299) 评论(0) 推荐(0)
摘要: A题: 判断>2的偶数;B题:(回溯)#include #include#include#include#include#include#includeusing namespace std;int days,times;int xt1[1000],xt2[1000];int sum,i,j,k;int a[1000];int main(){ cin>>days>>times; for(i=1;i>xt1[i]>>xt2[i]; } for(i=1;idays) { cout#include#include#include#include#inc 阅读全文
posted @ 2013-08-03 08:05 persistent codeants 阅读(308) 评论(0) 推荐(0)