Add Kochubei solve
This commit is contained in:
parent
056e721d9a
commit
7cbc20e311
16 changed files with 237 additions and 37 deletions
3
2025.05.23/dist/Kochubei_DS/a01.c
vendored
3
2025.05.23/dist/Kochubei_DS/a01.c
vendored
|
@ -26,19 +26,16 @@ int main(int argc, char** argv)
|
|||
if (status==-1)
|
||||
{
|
||||
printf("Cannot open file\n");
|
||||
delete_node(N);
|
||||
return -1;
|
||||
}
|
||||
else if (status==-2)
|
||||
{
|
||||
printf("Cannot read file\n");
|
||||
delete_node(N);
|
||||
return -2;
|
||||
}
|
||||
else if (status==3)
|
||||
{
|
||||
printf("Cannot allocate memory\n");
|
||||
delete_node(N);
|
||||
return -2;
|
||||
}
|
||||
print_node(p, N);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue