啥都不会啊!怎么办啊!

Fitz

慢慢来生活总会好起来的!!!

摘要: N wizards are attending a meeting. Everyone has his own magic wand. N magic wands was put in a line, numbered from 1 to n(Wand_i owned by wizard_i). A 阅读全文
posted @ 2018-08-21 22:24 Fitz~ 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Gaby is a little baby who loves playing with numbers. Recently she has learned how to add 2 numbers using the standard addition algorithm which we sum 阅读全文
posted @ 2018-08-21 22:17 Fitz~ 阅读(391) 评论(0) 推荐(0) 编辑
摘要: This is a very easy problem. ACMeow loves GTX1920. Now he has m RMB, but no GTX1920s. In the next n days, the unit price of GTX1920 in the ith day is 阅读全文
posted @ 2018-08-21 22:14 Fitz~ 阅读(298) 评论(0) 推荐(0) 编辑
摘要: Yinyangshi is a famous RPG game on mobile phones. Kim enjoys collecting cards in this game. Suppose there are n kinds of cards. If you want to get a n 阅读全文
posted @ 2018-08-21 22:11 Fitz~ 阅读(603) 评论(0) 推荐(0) 编辑
摘要: Tamref love random numbers, but he hates recurrent relations, Tamref thinks that mainstream random generators like the linear congruent generator suck 阅读全文
posted @ 2018-08-21 21:58 Fitz~ 阅读(247) 评论(0) 推荐(0) 编辑
摘要: There is a rooted tree with n nodes, number from 1-n. Root’s number is 1.Each node has a value ai. Initially all the node’s value is 0. We have q oper 阅读全文
posted @ 2018-08-21 21:53 Fitz~ 阅读(175) 评论(0) 推荐(0) 编辑