上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页
摘要: Let s be a given string of up to 10^6106 digits. Find the maximal kk for which it is possible to partition ss into kk consecutive contiguous substring 阅读全文
posted @ 2020-04-16 20:02 DeaL57 阅读(145) 评论(0) 推荐(0)
摘要: N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows code better than others. Each 阅读全文
posted @ 2020-04-15 15:54 DeaL57 阅读(106) 评论(0) 推荐(0)
摘要: BIT has recently taken delivery of their new supercomputer, a 32 processor Apollo Odyssey distributed shared memory machine with a hierarchical commun 阅读全文
posted @ 2020-04-15 14:50 DeaL57 阅读(109) 评论(0) 推荐(0)
摘要: While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path tha 阅读全文
posted @ 2020-04-13 22:14 DeaL57 阅读(111) 评论(0) 推荐(0)
摘要: Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and performs exchang 阅读全文
posted @ 2020-04-13 17:07 DeaL57 阅读(255) 评论(0) 推荐(0)
摘要: One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ N). A total 阅读全文
posted @ 2020-04-13 10:46 DeaL57 阅读(138) 评论(0) 推荐(0)
摘要: You have array of nn numbers a1,a2,…,ana1,a2,…,an. Rearrange these numbers to satisfy |a1−a2|≤|a2−a3|≤…≤|an−1−an||a1−a2|≤|a2−a3|≤…≤|an−1−an|, where |x 阅读全文
posted @ 2020-04-13 08:20 DeaL57 阅读(262) 评论(0) 推荐(0)
摘要: BackgroundHugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tells him whet 阅读全文
posted @ 2020-04-12 09:03 DeaL57 阅读(165) 评论(0) 推荐(0)
摘要: E. Sleeping Schedule time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vova had a pretty w 阅读全文
posted @ 2020-04-11 23:41 DeaL57 阅读(184) 评论(0) 推荐(0)
摘要: D. Ehab the Xorcist time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Given 2 integers uu a 阅读全文
posted @ 2020-04-11 14:59 DeaL57 阅读(134) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页