Test-case-generators

所属分类:自动编程
开发工具:C++
文件大小:1755KB
下载次数:0
上传日期:2018-01-03 17:51:02
上 传 者sh-1993
说明:  竞争编程的测试用例生成器代码样本
(Test case generator code samples for Competitive Programming)

文件列表:
Graphs (0, 2018-01-04)
Graphs\Linear (0, 2018-01-04)
Graphs\Linear\inp.txt (612929, 2018-01-04)
Graphs\Linear\linear.cpp (2185, 2018-01-04)
Graphs\Linear\linear.md (525, 2018-01-04)
Graphs\Sparse (0, 2018-01-04)
Graphs\Sparse\graph.cpp (2733, 2018-01-04)
Graphs\Sparse\graph.md (711, 2018-01-04)
Graphs\Sparse\inp.txt (2228153, 2018-01-04)
Graphs\Star (0, 2018-01-04)
Graphs\Star\inp.txt (1051050, 2018-01-04)
Graphs\Star\star.cpp (1067, 2018-01-04)
Graphs\Star\star.md (523, 2018-01-04)
Graphs\Tree (0, 2018-01-04)
Graphs\Tree\inp.txt (217264, 2018-01-04)
Graphs\Tree\tree.cpp (2031, 2018-01-04)
Graphs\Tree\tree.md (520, 2018-01-04)
LICENSE (18045, 2018-01-04)
Numbers (0, 2018-01-04)
Numbers\Permutation Array (0, 2018-01-04)
Numbers\Permutation Array\inp.txt (30, 2018-01-04)
Numbers\Permutation Array\permutation_array.cpp (1125, 2018-01-04)
Numbers\Permutation Array\permutation_array.md (585, 2018-01-04)
Numbers\Permutation Matrix (0, 2018-01-04)
Numbers\Permutation Matrix\inp.txt (268, 2018-01-04)
Numbers\Permutation Matrix\permutation_matrix.cpp (1378, 2018-01-04)
Numbers\Permutation Matrix\permutation_matrix.md (777, 2018-01-04)
Numbers\Random Array Pair (0, 2018-01-04)
Numbers\Random Array Pair\inp.txt (1808, 2018-01-04)
Numbers\Random Array Pair\number_pairs.cpp (1390, 2018-01-04)
Numbers\Random Array Pair\number_pairs.md (1275, 2018-01-04)
Numbers\Random Array (0, 2018-01-04)
Numbers\Random Array\inp.txt (1127, 2018-01-04)
Numbers\Random Array\numbers.cpp (1069, 2018-01-04)
Numbers\Random Array\numbers.md (844, 2018-01-04)
Numbers\Random Matrix (0, 2018-01-04)
Numbers\Random Matrix\inp.txt (125, 2018-01-04)
Numbers\Random Matrix\matrix.cpp (1226, 2018-01-04)
Numbers\Random Matrix\matrix.md (1036, 2018-01-04)
... ...

# Test-case-generators This repository contains codes for generating some random test cases which can be used for generating test cases for coding competitions, testing efficiency of your algorithms etc. All the test case generators are written in C++. The codes are fully commented for easy usage of the codes. Also a readme file describing the code and the tweaking you could do with the code is given algonside. All the test case generators also have a checker implemented inside them which checks whether all the test case data generated is according to the constraints you set above in the code or not. By default, output file name is set to "inp.txt". To change it you can change the name of file on line having the function "freopen" written on it. In case of any wrong generation of data, it simply throws an "SIGABRT" error. If you encounter this, or any type of segmentation fault while using any of these files, do report the error (and preferably screenshot) so that the code can be updated for further use. Feel free to contribute to the repository as well.

近期下载者

相关文件


收藏者