OSDN Git Service
(root)
/
oi-wiki
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df10c8a
)
Update link
author
心旷神怡
<greyqz@126.com>
Sun, 6 Oct 2019 03:09:31 +0000
(11:09 +0800)
committer
GitHub
<noreply@github.com>
Sun, 6 Oct 2019 03:09:31 +0000
(11:09 +0800)
With regard to #1672 .
docs/intro/common-tricks.md
patch
|
blob
|
history
diff --git
a/docs/intro/common-tricks.md
b/docs/intro/common-tricks.md
index
9a40c69
..
11c9aa9
100644
(file)
--- a/
docs/intro/common-tricks.md
+++ b/
docs/intro/common-tricks.md
@@
-164,7
+164,7
@@
int main() {
具体而言,我们需要一个数据生成器,两个要进行对拍的程序。
-每次运行一次 [数据生成器](../
misc/random.md
) ,将生成的数据写入输入文件,通过重定向的方法使两个程序读入数据,并将输出写入指定文件,利用 Windows 下的 `fc` 命令比对文件(Linux 下为 `diff` 命令),从而检验程序的正确性。
+每次运行一次 [数据生成器](../
topic/problemsetting/#_17
) ,将生成的数据写入输入文件,通过重定向的方法使两个程序读入数据,并将输出写入指定文件,利用 Windows 下的 `fc` 命令比对文件(Linux 下为 `diff` 命令),从而检验程序的正确性。
如果发现程序出错,可以直接利用刚刚生成的数据进行调试啦。