Skip to content

Commit

Permalink
将gen_chains_all返回值输出到命令行
Browse files Browse the repository at this point in the history
  • Loading branch information
王永瑶 committed Mar 19, 2023
1 parent 775f0b1 commit 5279256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ void print_ans(int len,char* result[],int operate)
{
ofstream fout("solution.txt");
if(operate==1)
fout<<len<<"\n";
cout<<len<<"\n";
for(int i=0;i<len;i++)
fout<<result[i]<<"\n";
fout.close();
Expand Down

0 comments on commit 5279256

Please sign in to comment.