随笔分类 -  思维

摘要:4556 The Next PermutationFor this problem, you will write a program that takes a (possibly long) string of decimal digits, andoutputs the permutation 阅读全文
posted @ 2018-10-14 20:25 左手边五十米 阅读(134) 评论(0) 推荐(0)
摘要:Description Since Sonya is interested in robotics too, she decided to construct robots that will read and recognize numbers. Sonya has drawn nn number 阅读全文
posted @ 2018-08-10 20:09 左手边五十米 阅读(250) 评论(0) 推荐(0)
摘要:Natasha is planning an expedition to Mars for nn people. One of the important tasks is to provide food for each participant. The warehouse has mm dail 阅读全文
posted @ 2018-08-05 14:17 左手边五十米 阅读(178) 评论(0) 推荐(0)
摘要:You are given an array d1,d2,…,dnd1,d2,…,dn consisting of nn integer numbers. Your task is to split this array into three parts (some of which may be 阅读全文
posted @ 2018-08-04 09:44 左手边五十米 阅读(202) 评论(0) 推荐(0)