摘要: C. Sagheer and Nubian Market time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Sagheer 阅读全文
posted @ 2017-06-02 01:20 hinata_hajime 阅读(310) 评论(0) 推荐(0) 编辑
摘要: C. Naming Company time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Naming Company time 阅读全文
posted @ 2017-05-19 21:56 hinata_hajime 阅读(228) 评论(0) 推荐(0) 编辑
摘要: Drainage Ditches Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clover patch. This means that the clover is covered 阅读全文
posted @ 2017-05-19 11:47 hinata_hajime 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Game Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 493 Accepted Submission(s): 380 Problem Des 阅读全文
posted @ 2017-05-17 21:39 hinata_hajime 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,...,xN (0 <= xi 阅读全文
posted @ 2017-05-17 00:22 hinata_hajime 阅读(196) 评论(0) 推荐(0) 编辑
摘要: A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately managed to run o 阅读全文
posted @ 2017-05-14 01:13 hinata_hajime 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 在用scanf一个一个读入字符的时候 常常会需要防止空格和回车的读入。广泛使用的有三种解决方法。 1.scanf("%c\n",&ch) 在scanf里 \n 很特别的,不是要求输入一个回车换行 引用一下别人的说法: 过滤空格、制表符、回车等输入,也就是说 scanf(“%c\n”, &i); pr 阅读全文
posted @ 2017-05-10 10:25 hinata_hajime 阅读(224) 评论(0) 推荐(0) 编辑
摘要: C. Mike and gcd problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output C. Mike and gcd 阅读全文
posted @ 2017-04-22 12:03 hinata_hajime 阅读(122) 评论(0) 推荐(0) 编辑
摘要: As we all know, Coach Gao is a talented chef, because he is able to cook M dishes in the same time. Tonight he is going to have a hearty dinner with h 阅读全文
posted @ 2017-04-21 12:39 hinata_hajime 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 1000 MS Memory Limit: 131072 K Description Deoxyribonucleic acid (DNA) is a molecule that carries most of the genetic instructions used in 阅读全文
posted @ 2017-04-20 14:08 hinata_hajime 阅读(180) 评论(0) 推荐(0) 编辑