04 2018 档案
摘要:Six Degrees of Cowvin Bacon Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6744 Accepted: 3139 Description The cows have been making movie
阅读全文
摘要:Wormholes Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 58636 Accepted: 21921 Description While exploring his many farms, Farmer John has
阅读全文
摘要:Cow Hurdles Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8506 Accepted: 3751 Description Farmer John wants the cows to prepare for the c
阅读全文
摘要:A. Pride time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Pride time limit per test 2
阅读全文
摘要:A. Hungry Student Problem time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Hungry Stude
阅读全文
摘要:C. Permutation Cycle time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output For a permutation P
阅读全文
摘要:B. Recursive Queries time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Recursive Querie
阅读全文
摘要:A. Points on the line time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Points on the li
阅读全文
摘要:C. Zebras time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output C. Zebras time limit per test 1
阅读全文
摘要:C. A Twisty Movement time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. A Twisty Movement
阅读全文
摘要:C. Sad powers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Sad powers time limit p
阅读全文
摘要:比赛地址:http://codeforces.com/contest/955 A. Feed the cat time limit per test 1 second memory limit per test 256 megabytes input standard input output st
阅读全文
摘要:题目描述 金明今天很开心,家里购置的新房就要领钥匙了,新房里有一间金明自己专用的很宽敞的房间。更让他高兴的是,妈妈昨天对他说:“你的房间需要购买哪些物品,怎么布置,你说了算,只要不超过N元钱就行”。今天一早,金明就开始做预算了,他把想买的物品分为两类:主件与附件,附件是从属于某个主件的,下表就是一些
阅读全文
摘要:题目描述 FJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then sum adjacent numb
阅读全文
摘要:题目描述 已知有两个字串 A, B 及一组字串变换的规则(至多6个规则): A1 -> B1 A2 -> B2 规则的含义为:在 A$中的子串 A1 可以变换为 B1、A2 可以变换为 B2 …。 例如:A='abcd'B='xyz' 变换规则为: ‘abc’->‘xu’‘ud’->‘y’‘y’->
阅读全文
摘要:题目描述 金明今天很开心,家里购置的新房就要领钥匙了,新房里有一间他自己专用的很宽敞的房间。更让他高兴的是,妈妈昨天对他说:“你的房间需要购买哪些物品,怎么布置,你说了算,只要不超过N元钱就行”。今天一早金明就开始做预算,但是他想买的东西太多了,肯定会超过妈妈限定的N元。于是,他把每件物品规定了一个
阅读全文
摘要:烦人的幻灯片问题 Time Limit: 1 Sec Memory Limit: 64 MBSubmit: 18 Solved: 8 Description 李教授于今天下午做一个非常重要的演讲。不幸的是他不是一个非常爱整洁的人,他把自己做演讲要用的幻灯片随便堆放在一起。因此,演讲之前他不得不去整理
阅读全文