上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 72 下一页

2018年8月16日

The North American Invitational Programming Contest 2018 H. Recovery

摘要: Consider an n \times mn×m matrix of ones and zeros. For example, this 4 \times 44×4: \displaystyle \begin{matrix} 1 & 1 & 1 & 1 \\ 0 & 1 & 1 & 1 \\ 0 阅读全文

posted @ 2018-08-16 15:33 cltt 阅读(380) 评论(0) 推荐(0)

cf 1016D

摘要: D. Vasya And The Matrix time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Vasya And The 阅读全文

posted @ 2018-08-16 14:55 cltt 阅读(188) 评论(0) 推荐(0)

误区

摘要: int n; int main() { scanf("%d",&n); cout>b == a/(2^b) &&还具有短路的功能,即如果第一个表达式为false,则不再计算第二个表达式 int a[5]; char c ='d'; for(int i=0;i<4;i++) a[i]=i; for(int i=0;i<... 阅读全文

posted @ 2018-08-16 11:50 cltt 阅读(200) 评论(0) 推荐(0)

poj 3783

摘要: Balls Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1196 Accepted: 783 Description The classic Two Glass Balls brain-teaser is often pose 阅读全文

posted @ 2018-08-16 10:45 cltt 阅读(240) 评论(0) 推荐(0)

2018年8月15日

The North American Invitational Programming Contest 2018 E. Prefix Free Code

摘要: Consider nn initial strings of lower case letters, where no initial string is a prefix of any other initial string. Now, consider choosing kk of the s 阅读全文

posted @ 2018-08-15 20:37 cltt 阅读(177) 评论(0) 推荐(0)

hdu 6383

摘要: p1m2 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 925 Accepted Submission(s): 351 Problem De 阅读全文

posted @ 2018-08-15 10:24 cltt 阅读(167) 评论(0) 推荐(0)

2018年8月14日

ACM-ICPC 2016 Qingdao Preliminary Contest G. Sort

摘要: Recently, Bob has just learnt a naive sorting algorithm: merge sort. Now, Bob receives a task from Alice.Alice will give Bob N sorted sequences, and t 阅读全文

posted @ 2018-08-14 20:25 cltt 阅读(267) 评论(0) 推荐(0)

2018年8月13日

cf 1020 C

摘要: C. Elections time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Elections time limit per 阅读全文

posted @ 2018-08-13 17:56 cltt 阅读(349) 评论(0) 推荐(0)

2018年8月12日

二进制

摘要: 1 如果 x>0&&x&(x-1)==0 那么x为2的指数幂 0&(-1)==0 阅读全文

posted @ 2018-08-12 20:41 cltt 阅读(190) 评论(0) 推荐(0)

2018年8月11日

Wannafly挑战赛21 C 大水题

摘要: 题目描述 现在给你N个正整数ai,每个数给出一“好数程度” gi(数值相同但位置不同的数之间可能有不同的好数程度)。对于在 i 位置的数,如果有一在j位置的数满足 j < i 且 ai=aj,则你可以将位于[i,j]闭区间内的序列评为“好序列”,然后获得∑gk(j≤k≤i)(此闭区间内“好数程度”之 阅读全文

posted @ 2018-08-11 19:39 cltt 阅读(211) 评论(0) 推荐(0)

上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 72 下一页

导航