codeforces
文章平均质量分 81
一念执着_
做一个让自己羡慕的人
展开
-
Codeforces Round #346 (Div. 2)C. Tanya and Toys
C. Tanya and Toys time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output In Berland recently a new collection of to原创 2016-04-07 08:20:40 · 611 阅读 · 0 评论 -
codeforces 665D Simple Subset
D. Simple Subset time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A tuple of positive integers {x1, x2, ...,原创 2016-05-10 13:44:16 · 1447 阅读 · 0 评论 -
CodeForces 660D Number of Parallelograms
D. Number of Parallelograms time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output You are given n points on a pla原创 2016-04-11 14:58:28 · 1217 阅读 · 2 评论 -
Codeforces Round #383 (Div. 2) B. Arpa’s obvious problem and Mehrdad’s terrible solution
题意: 有多少个a[i]^a[j]=x,(1 思路:因为 (1 ≤ ai ≤ 105) 所以想到用个数组标记下个数,找a[i]^x值有多少个, 才开始没考虑到x=0的情况,也忘了>,,后又因为标记的数组开的10^5开小了(两个数异或值可能大于这两个数),RE了,总之wa了很多遍终于过了,结果还是被hack掉了,因为只有结果开了long long,后来把数组也开的lon原创 2016-12-07 09:38:23 · 611 阅读 · 0 评论 -
Codeforces Round #402 (div. 2)D. String Game(二分)
D. String Game time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output Little Nastya has a hobby, she likes to remo原创 2017-02-27 11:35:01 · 607 阅读 · 0 评论 -
Codeforces Round #401 (div. 2) A,B,C,D
A题简单水题 找下规律,当时读题比较久,没理解什么意思。 B题, B. Game of Credit Cards time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard原创 2017-02-25 18:58:48 · 1002 阅读 · 0 评论 -
【2017河南省省赛个人选拔赛补题】hdu4722 Good Numbers9(找规律)+CodeForces 729D(思路题)
Good Numbers Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4714 Accepted Submission(s): 1499 Problem Description If we sum up原创 2017-03-17 22:00:16 · 707 阅读 · 0 评论