随笔分类 - 乱 搞——模拟
摘要:/************************************************************************* > File Name: L.cpp > Author: LyuCheng > Created Time: 2017-12-03 17:31 > Description: 题意:首先有一个乘法表,然...
阅读全文
摘要:#1632 : Secret Poems 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 The Yongzheng Emperor (13 December 1678 – 8 October 1735), was the fifth emperor of the Qin
阅读全文
摘要:#1631 : Cats and Fish 时间限制:1000ms 单点时限:1000ms 内存限制:256MB 描述 There are many homeless cats in PKU campus. They are all happy because the students in the
阅读全文
摘要:C. Short Program time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Petya learned a new pro
阅读全文
摘要:计数排序就是利用空间换时间,时间复杂度O(n+k) n是元素个数,k是最大数的个数; 统计每个数比他小的有多少,比如比a[i]小的有x个,那么a[i]应该排在x+1的位置 代码:
阅读全文
摘要:A. From Y to Y time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output From beginning till end, t
阅读全文
摘要:CS Course Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0 Problem Des
阅读全文
摘要:Hybrid Crystals Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 322 Accepted Submission(s): 191 P
阅读全文
摘要:Build a tree Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 524288/524288 K (Java/Others)Total Submission(s): 946 Accepted Submission(s): 369 Pr
阅读全文
摘要:度度熊的01世界 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1276 Accepted Submission(s): 466 Problem
阅读全文
摘要:今夕何夕 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1501 Accepted Submission(s): 528 Problem Des
阅读全文
摘要:EXTENDED LIGHTS OUT Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 11169 Accepted: 7133 Description In an extended version of the game Lig
阅读全文
摘要:Sumsets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11612 Accepted: 3189 Description Given S, a set of integers, find the largest d suc
阅读全文
摘要:The Water Bowls Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6731 Accepted: 2650 Description The cows have a line of 20 water bowls from
阅读全文
摘要:Sum of Consecutive Prime Numbers Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 25919 Accepted: 14080 Description Some positive integers c
阅读全文
摘要:Showstopper Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 2236 Accepted: 662 Description Data-mining huge data sets can be a painful and
阅读全文
摘要:A. 拼音魔法 Time limit per test: 1.0 seconds Time limit all tests: 1.0 seconds Memory limit: 256 megabytes Accept / Submit: 341 / 2134 A. 拼音魔法 Time limit
阅读全文
摘要:If you find yourself in Nevada at an abandoned nuclear range during Halloween time, you’ll become a witness of an unusual show. Here Ghostbusters hold
阅读全文
摘要:Recently, the ACM/ICPC team of Marjar University decided to choose some new members from freshmen to take part in the ACM/ICPC competitions of the nex
阅读全文
摘要:Very Simple Problem Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 2535 Very Simple Problem Submit St
阅读全文