
ACM刷题解析
文章平均质量分 78
刷题
-纸短情长
无开源不生态,无生态不商业
展开
-
NYOJ--19--擅长排列的小明
解析核心还是next—permutation()函数对于重复的问题,可以把上一次输出的最后一位保存下来,然后与这一次的最后一位进行比较,若相同则跳出,若不同则输出原创 2016-04-10 11:07:52 · 642 阅读 · 0 评论 -
hdu--1716--排列2
题目排列2Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6480 Accepted Submission(s): 2497Problem DescriptionRay又对数字的列产生了兴趣:现有四张卡原创 2016-04-10 10:32:23 · 759 阅读 · 0 评论 -
NYOJ--366--D的小L
题目解析代码原创 2016-04-10 09:54:07 · 473 阅读 · 0 评论 -
cf 697b 科学记数法逆推
CodeForces - 697BBarnicleTime Limit: 1000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64uSubmit StatusDescriptionBarney is standing in a bar and starr原创 2016-08-01 08:59:32 · 453 阅读 · 1 评论 -
cf 619c 科学记数法1
Exponential notationTime Limit: 2000MS Memory Limit: 262144KB 64bit IO Format: %I64d & %I64uSubmit StatusDescriptionYou are given a positive decimal number x.Yo原创 2016-08-01 08:55:09 · 425 阅读 · 0 评论 -
cf 697b 科学记数法逆推
B. Barnicletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBarney is standing in a bar and starring原创 2016-07-30 15:28:14 · 462 阅读 · 0 评论 -
cf 619c 科学记数法
C. Exponential notationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a positive de原创 2016-07-30 15:16:33 · 603 阅读 · 0 评论 -
cf--236A--boy or girl
A. Boy or Girl原创 2016-04-06 15:53:43 · 931 阅读 · 0 评论 -
hdu--2501--Tiling_easy version
hdu--2501--Tiling_easy version原创 2016-04-07 09:24:48 · 531 阅读 · 0 评论 -
NYOJ-180-挑剔的小杜(水题)
nyoj-180-挑剔的小杜难度:2描述 小杜一直都不喜欢数学,但是他特爱语文,所以对英语也非常感兴趣。所以他也就有个习惯,一看到字母里面插有数字,一定要把他全部划去。现在给你纸,纸上有很多既含有字母,又含有数字的句子(还包括一些标点符号)。你需要将数字找出来放在一边,并组成一个最大的数。然后逆序输出所有字母原创 2016-04-03 20:48:05 · 596 阅读 · 0 评论