2nd_Sem_Bogachev/2025.03.07/01Ex/test_cases.json
AZEN-SGG 8a7aac7c23 refactor(structure): normalize folder names with leading zeros for consistency
- Renamed all folders from format NEx (e.g., 1Ex, 2Ex...) to 0NEx (01Ex, 02Ex, etc.)
- Updated subdirectories and files accordingly
- Removed old main Makefile and tasks (a01.c–a09.c, solve.c, io_status.h), likely obsolete
- Cleaned up deprecated task binaries and configs
2025-03-23 21:14:20 +03:00

137 lines
2.7 KiB
JSON

{
"exe": "a01.exe",
"filename": "matrix.txt",
"tests": [
{
"name": "File Matrix Test",
"k": 0,
"matrix": "1 2 3 4\n1 2 3 4\n1 2 3 4\n1 2 3 4",
"expected_res": 0
},
{
"name": "File Symmetric Matrix Test",
"k": 0,
"matrix": "1 2 3 4\n2 3 4 5\n3 4 5 6\n4 5 6 7",
"expected_res": 4
},
{
"name": "Generated Matrix (k=1)",
"k": 1,
"n": 3,
"p": 3,
"expected_res": 3
},
{
"name": "Generated Matrix (k=2)",
"k": 2,
"n": 3,
"p": 3,
"expected_res": 3
},
{
"name": "Generated Matrix (k=3)",
"k": 3,
"n": 3,
"p": 3,
"expected_res": 3
},
{
"name": "Generated Matrix (k=4)",
"k": 4,
"n": 3,
"p": 3,
"expected_res": 3
},
{
"name": "File Matrix (Asymmetric)",
"k": 0,
"n": 4,
"p": 4,
"matrix": "1 2 3 4\n1 2 3 4\n1 2 3 4\n1 2 3 4",
"expected_res": 0
},
{
"name": "File Matrix (Symmetric)",
"k": 0,
"n": 4,
"p": 4,
"matrix": "1 2 3 4\n2 3 4 5\n3 4 5 6\n4 5 6 7",
"expected_res": 4
},
{
"name": "File Matrix (Diagonal Symmetric)",
"k": 0,
"n": 3,
"p": 3,
"matrix": "5 0 0\n0 5 0\n0 0 5",
"expected_res": 3
},
{
"name": "Generated Matrix (k=1, Symmetric)",
"k": 1,
"n": 3,
"p": 3,
"expected_res": 3
},
{
"name": "Generated Matrix (k=2, Symmetric)",
"k": 2,
"n": 3,
"p": 3,
"expected_res": 3
},
{
"name": "Generated Matrix (k=3, Symmetric)",
"k": 3,
"n": 3,
"p": 3,
"expected_res": 3
},
{
"name": "Generated Matrix (k=4, Symmetric)",
"k": 4,
"n": 3,
"p": 3,
"expected_res": 3
},
{
"name": "1x1 Matrix (Always Symmetric)",
"k": 0,
"n": 1,
"p": 1,
"matrix": "42",
"expected_res": 1
},
{
"name": "2x2 Symmetric Matrix",
"k": 0,
"n": 2,
"p": 2,
"matrix": "1 2\n2 3",
"expected_res": 2
},
{
"name": "2x2 Asymmetric Matrix",
"k": 0,
"n": 2,
"p": 2,
"matrix": "1 0\n2 3",
"expected_res": 0
},
{
"name": "4x4 Nearly Symmetric Matrix",
"k": 0,
"n": 4,
"p": 4,
"matrix": "1 2 3 4\n2 3 4 5\n3 4 5 6\n4 5 6 8",
"expected_res": 4
},
{
"name": "1000x1000 Large Symmetric Matrix",
"k": 1,
"n": 1000,
"p": 5,
"expected_res": 1000
}
]
}