08 2017 档案

摘要:Friend-Graph Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6514 Accepted Submission(s): 1610 P 阅读全文
posted @ 2017-08-24 14:05 ISGuXing 阅读(428) 评论(0) 推荐(0) 编辑
摘要:C++中数字与字符串之间的转换 1、字符串数字之间的转换(1)string --> char * string str("OK"); char * p = str.c_str();(2)char * -->string char *p = "OK"; string str(p);(3)char * 阅读全文
posted @ 2017-08-20 22:06 ISGuXing 阅读(173) 评论(0) 推荐(0) 编辑
摘要:第二次打日服。。。 感觉比较水。因为聚会的原因,还几十分钟结束的时候才打开电脑。 D题就没看。难度不知。 题目链接http://abc071.contest.atcoder.jp/ ABC都水题。 C题因为数据比较大,不知道为什么用long long 有点问题,赛后发现是x,y用的是int 相乘会溢 阅读全文
posted @ 2017-08-20 21:58 ISGuXing 阅读(172) 评论(0) 推荐(0) 编辑
摘要:A. Generous Kefa time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Generous Kefa time l 阅读全文
posted @ 2017-08-19 00:30 ISGuXing 阅读(276) 评论(0) 推荐(0) 编辑
摘要:The Romans have attacked again. This time they are much more than the Persians but Shapur is ready to defeat them. He says: "A lion is never afraid of 阅读全文
posted @ 2017-08-11 09:26 ISGuXing 阅读(483) 评论(0) 推荐(0) 编辑
摘要:题目描述: 键盘输入一个高精度的正整数N(此整数中没有‘0’),去掉其中任意S个数字后剩下的数字按原左右次序将组成一个新的正整数。编程对给定的N和S,寻找一种方案使得剩下的数字组成的新数最小。 输出应包括所去掉的数字的位置和组成的新的正整数。(N不超过240位) 样例输入175438 4 样例输出1 阅读全文
posted @ 2017-08-09 10:37 ISGuXing 阅读(948) 评论(0) 推荐(0) 编辑
摘要:某工厂有n个独立的作业,由m台相同的机器进行加工处理。作业i所需的加工时间为ti,任何作业在被处理时不能中断,也不能进行拆分处理。现厂长请你给他写一个程序:算出n个作业由m台机器加工处理的最短时间。 输入 第一行T(1<T<100)表示有T组测试数据。每组测试数据的第一行分别是整数n,m(1<=n< 阅读全文
posted @ 2017-08-08 20:48 ISGuXing 阅读(1885) 评论(0) 推荐(0) 编辑
摘要:Description A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle ar 阅读全文
posted @ 2017-08-08 11:49 ISGuXing 阅读(190) 评论(0) 推荐(0) 编辑
摘要:转自http://blog.csdn.net/niushuai666/article/details/6734403 函数lower_bound()在first和last中的前闭后开区间进行二分查找,返回大于或等于val的第一个元素位置。如果所有元素都小于val,则返回last的位置 举例如下: 一 阅读全文
posted @ 2017-08-07 20:12 ISGuXing 阅读(235) 评论(0) 推荐(0) 编辑
摘要:Factstone Benchmark Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2259 Accepted Submission(s): 阅读全文
posted @ 2017-08-07 20:06 ISGuXing 阅读(231) 评论(0) 推荐(0) 编辑
摘要:Big Number Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 38440 Accepted Submission(s): 18627 Pr 阅读全文
posted @ 2017-08-07 20:01 ISGuXing 阅读(263) 评论(0) 推荐(0) 编辑
摘要:度度熊的王国战略 Accepts: 674 Submissions: 6056 Time Limit: 40000/20000 MS (Java/Others) Memory Limit: 32768/132768 K (Java/Others) 度度熊的王国战略 Accepts: 674 Subm 阅读全文
posted @ 2017-08-07 10:16 ISGuXing 阅读(449) 评论(0) 推荐(0) 编辑
摘要:度度熊与邪恶大魔王 度度熊为了拯救可爱的公主,于是与邪恶大魔王战斗起来。 邪恶大魔王的麾下有n个怪兽,每个怪兽有a[i]的生命值,以及b[i]的防御力。 度度熊一共拥有m种攻击方式,第i种攻击方式,需要消耗k[i]的晶石,造成p[i]点伤害。 当然,如果度度熊使用第i个技能打在第j个怪兽上面的话,会 阅读全文
posted @ 2017-08-06 22:42 ISGuXing 阅读(332) 评论(0) 推荐(0) 编辑
摘要:C. Two Seals time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output One very important person ha 阅读全文
posted @ 2017-08-04 14:48 ISGuXing 阅读(182) 评论(0) 推荐(0) 编辑
摘要:B. Flag of Berland time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The flag of Berland is 阅读全文
posted @ 2017-08-04 14:44 ISGuXing 阅读(200) 评论(0) 推荐(0) 编辑
摘要:A. Text Volume time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a text of si 阅读全文
posted @ 2017-08-04 14:39 ISGuXing 阅读(182) 评论(0) 推荐(0) 编辑
摘要:Seek the Name, Seek the Fame Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 20196 Accepted: 10514 Description The little cat is so famous, 阅读全文
posted @ 2017-08-03 22:04 ISGuXing 阅读(227) 评论(0) 推荐(0) 编辑
摘要:We say a sequence of characters is a palindrome if it is the same written forwards and backwards. For example, ‘racecar’ is a palindrome, but ‘fastcar 阅读全文
posted @ 2017-08-03 21:47 ISGuXing 阅读(231) 评论(0) 推荐(0) 编辑
摘要:Eddy's picture Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10685 Accepted Submission(s): 5397 阅读全文
posted @ 2017-08-03 11:16 ISGuXing 阅读(201) 评论(0) 推荐(0) 编辑
摘要:Problem A A. Key races time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Two boys decided t 阅读全文
posted @ 2017-08-01 20:58 ISGuXing 阅读(176) 评论(0) 推荐(0) 编辑
摘要:Jessica's a very lovely girl wooed by lots of boys. Recently she has a problem. The final exam is coming, yet she has spent little time on it. If she 阅读全文
posted @ 2017-08-01 19:26 ISGuXing 阅读(167) 评论(0) 推荐(0) 编辑
摘要:A Bug's Life Time Limit: 10000MS Memory Limit: 65536K Total Submissions: 38229 Accepted: 12436 Description BackgroundProfessor Hopper is researching t 阅读全文
posted @ 2017-08-01 16:20 ISGuXing 阅读(241) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示