摘要: C. Alice and Bob time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output It is so boring in the summer holiday, isn't it? So Alice and Bob have in... 阅读全文
posted @ 2017-03-15 22:21 Pic 阅读(231) 评论(0) 推荐(0) 编辑
摘要: B. Fixed Points time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A permutation of length n is an integer sequence such that each integer fr... 阅读全文
posted @ 2017-03-15 21:50 Pic 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Description You want to arrange n integers a1, a2, ..., an in some order in a row. Let's define the value of an arrangemen... 阅读全文
posted @ 2017-03-15 21:48 Pic 阅读(125) 评论(0) 推荐(0) 编辑