上一页 1 2 3 4 5 6 7 ··· 49 下一页
摘要: Recently, Shua Shua had a big quarrel with his GF. He is so upset that he decides to take a trip to some other city to avoid meeting her. He will trav 阅读全文
posted @ 2019-08-03 21:53 black_hole6 阅读(211) 评论(0) 推荐(0)
摘要: 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input本题目包含多组测试,请处理到文件结束。 在每个测试的第一行, 阅读全文
posted @ 2019-08-02 11:58 black_hole6 阅读(246) 评论(0) 推荐(0)
摘要: Problem Description There are n stones numbered from 1 to n.The weight of the i-th stone is i kilograms. We divide the stones into k groups.Each group 阅读全文
posted @ 2019-08-01 09:40 black_hole6 阅读(408) 评论(0) 推荐(0)
摘要: Problem Description You are given a 4 × 4 grid, which consists of 15 number cells and an empty cell.All numbers are unique and ranged from 1 to 15.In 阅读全文
posted @ 2019-07-31 19:32 black_hole6 阅读(301) 评论(0) 推荐(0)
摘要: Tom is playing a game called Idiomatic Phrases Game. An idiom consists of several Chinese characters and has a certain meaning. This game will give To 阅读全文
posted @ 2019-07-31 10:35 black_hole6 阅读(303) 评论(0) 推荐(0)
摘要: 最短路(vector+Dijkstra优先队列优化) #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> #include<queue> #include<stack> #include<set> #in 阅读全文
posted @ 2019-07-29 22:10 black_hole6 阅读(199) 评论(0) 推荐(0)
摘要: A friend of yours, an inventor, has built a spaceship recently and wants to explore space with it. During his first voyages, he discovered that the un 阅读全文
posted @ 2019-07-29 21:28 black_hole6 阅读(215) 评论(0) 推荐(0)
摘要: Bessie and the rest of Farmer John's cows are taking a trip this winter to go skiing. One day Bessie finds herself at the top left corner of an R (1 < 阅读全文
posted @ 2019-07-29 20:00 black_hole6 阅读(244) 评论(0) 推荐(0)
摘要: Problem Description Farmer John keeps a website called ‘FansBlog’ .Everyday , there are many people visited this blog.One day, he find the visits has 阅读全文
posted @ 2019-07-29 17:32 black_hole6 阅读(401) 评论(0) 推荐(0)
摘要: An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to large 阅读全文
posted @ 2019-07-28 22:35 black_hole6 阅读(275) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 49 下一页