上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 26 下一页
摘要: 阅读全文
posted @ 2020-06-07 09:51 DeaL57 阅读(92) 评论(0) 推荐(0) 编辑
摘要: Alice got many presents these days. So she decided to pack them into boxes and send them to her friends. There are nn kinds of presents. Presents of o 阅读全文
posted @ 2020-06-06 10:50 DeaL57 阅读(206) 评论(0) 推荐(0) 编辑
摘要: Recently Ivan the Fool decided to become smarter and study the probability theory. He thinks that he understands the subject fairly well, and so he be 阅读全文
posted @ 2020-06-04 16:59 DeaL57 阅读(213) 评论(0) 推荐(0) 编辑
摘要: The only difference between easy and hard versions is the maximum value of nn. You are given a positive integer number nn. You really love good number 阅读全文
posted @ 2020-06-04 10:03 DeaL57 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Vasya will fancy any number as long as it is an integer power of two. Petya, on the other hand, is very conservative and only likes a single integer p 阅读全文
posted @ 2020-06-03 15:22 DeaL57 阅读(140) 评论(0) 推荐(0) 编辑
摘要: You have a set of birthday cake candles. Each of such candles represents a digit between 00 and 99, inclusive. Example of birthday cake candles. Let's 阅读全文
posted @ 2020-06-03 11:20 DeaL57 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Ujan has been lazy lately, but now has decided to bring his yard to good shape. First, he decided to paint the path from his house to the gate. The pa 阅读全文
posted @ 2020-06-03 00:03 DeaL57 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 扩展欧几里得求逆元 void exgcd ( int a , int b ) { if ( b == 0 ) { x = 1; y = 0; return ; } exgcd ( b , a % b ); int xx , yy; xx = y; yy = x - (a/b) * y; x = xx 阅读全文
posted @ 2020-06-03 00:01 DeaL57 阅读(100) 评论(2) 推荐(0) 编辑
摘要: Tsumugi brought nn delicious sweets to the Light Music Club. They are numbered from 11 to nn, where the ii-th sweet has a sugar concentration describe 阅读全文
posted @ 2020-06-02 17:28 DeaL57 阅读(237) 评论(0) 推荐(0) 编辑
摘要: You are a rebel leader and you are planning to start a revolution in your country. But the evil Government found out about your plans and set your pun 阅读全文
posted @ 2020-06-02 00:05 DeaL57 阅读(211) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 26 下一页