Open wang904 opened 2 years ago
I also faced the same issue. You can delete the content of in1.txt and copy-paste the inputs. That's the way.
I try to fix it, is there anyone can test it?
I fix it by parsing html document tree, I think it better than solutions based on regex. https://github.com/dianhsu/cf-tool
Maybe https://github.com/izlyforever/cf-tool/releases/tag/v1.0.5 is one of answer
Because of the highlight of the test cases,the sample it fetchs includes some HTML tags. When I ran
cf test a.cpp
,the input is<div class="test-example-line test-example-line-even test-example-line-0">4</div><div class="test-example-line test-example-line-odd test-example-line-1">3 1</div><div class="test-example-line test-example-line-odd test-example-line-1">2 3 1</div><div class="test-example-line test-example-line-even test-example-line-2">3 3</div><div class="test-example-line test-example-line-even test-example-line-2">1 2 3</div><div class="test-example-line test-example-line-odd test-example-line-3">4 2</div><div class="test-example-line test-example-line-odd test-example-line-3">3 4 1 2</div><div class="test-example-line test-example-line-even test-example-line-4">1 1</div><div class="test-example-line test-example-line-even test-example-line-4">1</div><div class="test-example-line test-example-line-even test-example-line-4"></div>
Hope someone can fix it.