<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>批处理之家 - 出题挑战</title>
    <link>http://www.bathome.net/forum-28-1.html</link>
    <description>Latest 20 threads of 出题挑战</description>
    <copyright>Copyright(C) 批处理之家</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 02 May 2026 09:29:53 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>http://www.bathome.net/static/image/common/logo_88_31.gif</url>
      <title>批处理之家</title>
      <link>http://www.bathome.net/</link>
    </image>
    <item>
      <title>【出题】将 哈希节点关系清单 还原为 多层级哈希结构</title>
      <link>http://www.bathome.net/thread-61027-1-1.html</link>
      <description><![CDATA[备用标题：将数据节点关系清单还原为多层级哈希结构有一种很粗暴的方法，就是多次扫描整个列表。第一次扫描寻找0为父级ID的项，创建第一层键值关系；针对每一个子键，扫描清单寻找该键的子节点，创建第二层关系。
但这种方式效率极低，期待不一样的答案。

附精简过的原 ...]]></description>
      <category>出题挑战</category>
      <author>523066680</author>
      <pubDate>Thu, 16 Dec 2021 13:31:25 +0000</pubDate>
    </item>
    <item>
      <title>挑出峰值数字和所处位置（coderwars 5级挑战题）</title>
      <link>http://www.bathome.net/thread-55950-1-1.html</link>
      <description><![CDATA[看着还不错，和大家分享一下。


名称：挑出峰值数字和所处位置

详细介绍：

例子1, 数组 arr = [0, 1, 2, 5, 1, 0] 峰值索引位置在 3，峰值对应为 5 (since arr[3] equals 5). 结果：{pos: [3], peaks: [5]}
例子2，数组 arr = [1,2,5,4,3,2,3,6,4,1,2,3,3,4,5,3,2,1, ...]]></description>
      <category>出题挑战</category>
      <author>ivor</author>
      <pubDate>Fri, 29 May 2020 09:54:35 +0000</pubDate>
    </item>
    <item>
      <title>不限语言解决“谁做了糗事儿”问题</title>
      <link>http://www.bathome.net/thread-54930-1-1.html</link>
      <description><![CDATA[附一个C，无脑排除法：https://tool.lu/coderunner/embed/7Xm.html]]></description>
      <category>出题挑战</category>
      <author>老刘1号</author>
      <pubDate>Wed, 26 Feb 2020 12:55:56 +0000</pubDate>
    </item>
    <item>
      <title>不限语言解决“最大子列和问题”</title>
      <link>http://www.bathome.net/thread-54124-1-1.html</link>
      <description><![CDATA[相关链接：百度百科

附一个分治法的（非最优解法，时间复杂度O(nlogn)，已有O(n)的算法；仅作分治思想练习）
Option Explicit
Dim Arr
Arr = Array(4,-3,5,-2,-1,2,6,-2) \'为11
WScript.Echo Max(MaxSubseqSum(1,1,UBound(Arr) + 1),0)

Arr = Array(-2,1,-3,4,-1,2,1 ...]]></description>
      <category>出题挑战</category>
      <author>老刘1号</author>
      <pubDate>Wed, 30 Oct 2019 01:33:36 +0000</pubDate>
    </item>
    <item>
      <title>成绩单排序（多条件）挑战</title>
      <link>http://www.bathome.net/thread-52926-1-1.html</link>
      <description><![CDATA[同时满足以下条件：
1.语文升序
2.数学降序
3.英语升序
4.化学降序
5.生物升序

每一行的数据不能改变，排序最小单位是行，条件是列

不限制语言，数据约1w条。1秒内

样本：


抛砖引玉 ...]]></description>
      <category>出题挑战</category>
      <author>ivor</author>
      <pubDate>Thu, 30 May 2019 14:13:29 +0000</pubDate>
    </item>
    <item>
      <title>排它平方数</title>
      <link>http://www.bathome.net/thread-52399-1-1.html</link>
      <description><![CDATA[小明正看着 203879 这个数字发呆。

&amp;#160;&amp;#160;&amp;#160; 原来，203879 * 203879 = 41566646641

&amp;#160;&amp;#160;&amp;#160; 这有什么神奇呢？仔细观察，203879 是个6位数，并且它的每个数位上的数字都是不同的，并且它平方后的所有数位上都不出现组成它自身的数字。

&amp;#160;&amp;#1 ...]]></description>
      <category>出题挑战</category>
      <author>ivor</author>
      <pubDate>Fri, 29 Mar 2019 03:25:20 +0000</pubDate>
    </item>
    <item>
      <title>不限语言解决“人狼羊菜过河问题”</title>
      <link>http://www.bathome.net/thread-52289-1-1.html</link>
      <description><![CDATA[哈哈，看来工作日大家都忙着，今天再来一个类似的

参考：https://blog.csdn.net/orbit/article/details/7563220]]></description>
      <category>出题挑战</category>
      <author>老刘1号</author>
      <pubDate>Sat, 16 Mar 2019 04:09:41 +0000</pubDate>
    </item>
    <item>
      <title>不限语言解决“三狼三羊过河问题”</title>
      <link>http://www.bathome.net/thread-52265-1-1.html</link>
      <description><![CDATA[某算法课程中看到的一个题，

据说练回溯很好，欢迎大家回帖分享自己的代码

vbs版（无效率可言，仅为粗略实现）部分结果]]></description>
      <category>出题挑战</category>
      <author>老刘1号</author>
      <pubDate>Thu, 14 Mar 2019 04:22:03 +0000</pubDate>
    </item>
    <item>
      <title>不限语言解决“约瑟夫问题”</title>
      <link>http://www.bathome.net/thread-52153-1-1.html</link>
      <description><![CDATA[其实是个老算法题了，今天看到群里有人提起，就来发个帖子，



汇编-一维数组版汇编-单向循环链表版PowerShell]]></description>
      <category>出题挑战</category>
      <author>老刘1号</author>
      <pubDate>Sun, 03 Mar 2019 07:58:49 +0000</pubDate>
    </item>
    <item>
      <title>[挑战]100G文本统计+排序</title>
      <link>http://www.bathome.net/thread-51964-1-1.html</link>
      <description><![CDATA[源自ChinaUnix一个用户提出的问题，当时帮题主理清基础的处理方式，但是上G的文件依然没有写出高效率的代码。

原帖1，先从较简短的示例描述
http://bbs.chinaunix.net/thread-4263348-1-1.html


这个题主是个典型的令人头痛的类型，因为他不把问题描述完整，一开始还 ...]]></description>
      <category>出题挑战</category>
      <author>523066680</author>
      <pubDate>Tue, 29 Jan 2019 11:07:47 +0000</pubDate>
    </item>
    <item>
      <title>一个有限制的排序算法题</title>
      <link>http://www.bathome.net/thread-51910-1-1.html</link>
      <description><![CDATA[昨天群里看到的，

我的解法(伪插入排序，效率底下，各位大佬见笑)：]]></description>
      <category>出题挑战</category>
      <author>老刘1号</author>
      <pubDate>Tue, 22 Jan 2019 04:17:35 +0000</pubDate>
    </item>
    <item>
      <title>批处理把所有的&quot;!&quot; 替换成中文&quot;！&quot;</title>
      <link>http://www.bathome.net/thread-48815-1-1.html</link>
      <description><![CDATA[指定文件夹内有包含英文感叹号的文件夹和文件，而且这些文件夹和文件名字还包含 特殊符号，能把其中的英文感叹号全部替换成中文感叹号吗？
比如有文件   \&quot;c:\\#$%&amp;1!!\\as%%!%&amp;2.txt\&quot;  现在要把文件夹 #$%&amp;1!! 重命名为  #$%&amp;1！！  并且把文件 as%%!%&amp;2.txt 重命名为 as% ...]]></description>
      <category>出题挑战</category>
      <author>悬崖之树</author>
      <pubDate>Thu, 02 Aug 2018 02:50:03 +0000</pubDate>
    </item>
    <item>
      <title>[挑战]解数独程序与数独题目生成</title>
      <link>http://www.bathome.net/thread-45402-1-1.html</link>
      <description><![CDATA[以下是从某网站提取的5种难度的数独游戏（难度从1-5，循着网站是可以找到答案的）：
001000008800010532750024090005302060670500004010780900098053406426179803537460219
503092000700000008006007310020600000065000730007043500000706102070000800400009000
7003060 ...]]></description>
      <category>出题挑战</category>
      <author>523066680</author>
      <pubDate>Tue, 12 Sep 2017 12:39:19 +0000</pubDate>
    </item>
    <item>
      <title>一道简单的NOIP竞赛题</title>
      <link>http://www.bathome.net/thread-45179-1-1.html</link>
      <description><![CDATA[[问题描述]


语言不限，只要能实现上述的要求，读取输入文件expand.in，并将结果展开到输出文件expand.out即可。亦可直接在控制台输入输出。
下面是我的C语言解法：test.c源码]]></description>
      <category>出题挑战</category>
      <author>happy886rr</author>
      <pubDate>Fri, 25 Aug 2017 14:28:49 +0000</pubDate>
    </item>
    <item>
      <title>批处理编程挑战题“物以类聚”-将字母按大小写归并</title>
      <link>http://www.bathome.net/thread-43785-1-1.html</link>
      <description><![CDATA[[问题]
给你一个字符串，只由大小写字母构成。比如字符串：aAbBD，请将所有小写字母移到左端，大写移到右端，形成这种格式：abABD。也就是原字符串中小写a在小写b前面，移动后小写a仍然在小写b的前面，原字符串中大写A在大写B前面，移动后大写A仍然在大写B前面。

要求 ...]]></description>
      <category>出题挑战</category>
      <author>happy886rr</author>
      <pubDate>Tue, 11 Apr 2017 01:24:52 +0000</pubDate>
    </item>
    <item>
      <title>编程挑战-缺失的身份证号码</title>
      <link>http://www.bathome.net/thread-43777-1-1.html</link>
      <description><![CDATA[[具有挑战性的问题].
.
.
以下是一些辅助信息，有助于你更快的解决该问题。
[身份证号码][最后一位校验码是怎么确定的？][校验码计算示例][我的代码实现]
cmd脚本]]></description>
      <category>出题挑战</category>
      <author>happy886rr</author>
      <pubDate>Mon, 10 Apr 2017 07:23:30 +0000</pubDate>
    </item>
    <item>
      <title>字符串全排列</title>
      <link>http://www.bathome.net/thread-43749-1-1.html</link>
      <description><![CDATA[字符串 def 的全排列为：def、dfe、edf、efd、fde、fed。那么字符串bathome的全排列是？
（不限编程语言，能输出正确的全排列即可，代码越少越好。）

示例代码: C示例代码: js混编]]></description>
      <category>出题挑战</category>
      <author>happy886rr</author>
      <pubDate>Fri, 07 Apr 2017 13:08:08 +0000</pubDate>
    </item>
    <item>
      <title>在控制台打印金字塔</title>
      <link>http://www.bathome.net/thread-43522-1-1.html</link>
      <description><![CDATA[题目要求：
    用字符*打印一个金字塔，不限语言。

效果：


实现：欢迎帖码，语言不限。]]></description>
      <category>出题挑战</category>
      <author>happy886rr</author>
      <pubDate>Thu, 16 Mar 2017 13:28:11 +0000</pubDate>
    </item>
    <item>
      <title>[挑战题]Largest Number</title>
      <link>http://www.bathome.net/thread-41474-1-1.html</link>
      <description><![CDATA[这里有一个算法竞赛网站出的题目 https://leetcode.com/problems/largest-number/

你可以选自己擅长的语言做题并上传代码，该网站会用各种极端情况的输入值测试你的代码，如果没有出错，则同其他人上传的代码效率做比较、排名

问题179. Largest Number以下是本人渣翻 ...]]></description>
      <category>出题挑战</category>
      <author>523066680</author>
      <pubDate>Tue, 23 Aug 2016 02:22:13 +0000</pubDate>
    </item>
    <item>
      <title>批处理混合加密，你能破解吗？</title>
      <link>http://www.bathome.net/thread-36129-1-1.html</link>
      <description><![CDATA[若报毒为误报，以人品保证这只是用来测试加密效果的样品
运行后提示 Password: 等待输入密码，若密码正确会显示 Bingo~
大致效果类似于：你能破解密码吗？
第一个找出正确密码的坛友奖励 10 技术分，若能用文字解析加密手段另奖励最多 10 分（看完整程度），谁想来试试 ...]]></description>
      <category>出题挑战</category>
      <author>CrLf</author>
      <pubDate>Sun, 14 Jun 2015 21:09:00 +0000</pubDate>
    </item>
  </channel>
</rss>