2018年8月30日

ACM Changchun 2015 A. Too Rich

摘要: You are a rich person, and you think your wallet is too heavy and full now. So you want to give me some money by buying a lovely pusheen sticker which 阅读全文

posted @ 2018-08-30 21:05 cltt 阅读(243) 评论(0) 推荐(0) 编辑

最大子串和

摘要: Given a sequence of K integers { N​1​​, N​2​​, ..., N​K​​ }. A continuous subsequence is defined to be { N​i​​, N​i+1​​, ..., N​j​​ } where 1≤i≤j≤K. T 阅读全文

posted @ 2018-08-30 14:43 cltt 阅读(172) 评论(0) 推荐(0) 编辑

memset

摘要: 只能是0 ,-1,0x3f3f3f3f (1e9) 阅读全文

posted @ 2018-08-30 13:17 cltt 阅读(105) 评论(0) 推荐(0) 编辑

int long long 的范围

摘要: unsigned int 0~4294967295 (10位数,4e9) int -2147483648~2147483647 (10位数,2e9 2^31 - 1) long long: -9223372036854775808~9223372036854775807 (19位数, 9e18 )  阅读全文

posted @ 2018-08-30 12:48 cltt 阅读(146) 评论(0) 推荐(0) 编辑

AtCoder Beginner Contest 098 D - Xor Sum 2

摘要: D - Xor Sum 2 Time limit : 2sec / Memory limit : 1024MB Score : 500 points Problem Statement There is an integer sequence A of length N. Find the numb 阅读全文

posted @ 2018-08-30 10:53 cltt 阅读(181) 评论(0) 推荐(0) 编辑

导航