cf-tool icon indicating copy to clipboard operation
cf-tool copied to clipboard

Wrong test data!

Open 3000ye opened this issue 2 years ago • 7 comments

As shown in the figure, when I enter the contest with the following command, the downloaded Input data is wrong, which makes it impossible to pass the test no matter what my code is.

cf race 1802

QQ20230315-101423

3000ye avatar Mar 15 '23 02:03 3000ye

I have the same issue

vkr2471 avatar Jul 10 '23 13:07 vkr2471

have the same issue in Windows 11 with binary release version v1.0.0

27rabbitlt avatar Jul 18 '23 04:07 27rabbitlt

I think this problem is caused by the upgrade of codeforces. I have not meet this issue when I start an old contest. These html content is for selecting a set of test data quickly.

stdout-zhou avatar Jul 26 '23 09:07 stdout-zhou

Hi folks, can you try to generate a binary from my PR, and see if it's fixed? @vkr2471 @27rabbitlt @stdout-zhou @3000ye

visrut-at-incubyte avatar Jul 27 '23 05:07 visrut-at-incubyte

I guess the cause is the new html element cf-even-line cf-odd-line. These new attribute is used to display the sample input in different color to distinguishing between different testcase

On Wed, Jul 26, 2023 at 17:37 stdout @.***> wrote:

I think this problem is caused by the upgrade of codeforces. I have not meet this issue when I start an old contest. These html content is for selecting a set of test data quickly.

— Reply to this email directly, view it on GitHub https://github.com/xalanq/cf-tool/issues/163#issuecomment-1651377382, or unsubscribe https://github.com/notifications/unsubscribe-auth/A33BDHZGMYPORFW6OPG4643XSDQNBANCNFSM6AAAAAAV3GDOJQ . You are receiving this because you commented.Message ID: @.***>

27rabbitlt avatar Jul 27 '23 07:07 27rabbitlt

So sorry I have no golang knowledge or environment

On Thu, Jul 27, 2023 at 13:57 Visrut @.***> wrote:

Hi folks, can you try to generate a binary from my PR, and see if it's fixed? @vkr2471 https://github.com/vkr2471 @27rabbitlt https://github.com/27rabbitlt @stdout-zhou https://github.com/stdout-zhou @3000ye https://github.com/3000ye

— Reply to this email directly, view it on GitHub https://github.com/xalanq/cf-tool/issues/163#issuecomment-1652956746, or unsubscribe https://github.com/notifications/unsubscribe-auth/A33BDH6NGWXYLK46XDMVFVLXSH7LRANCNFSM6AAAAAAV3GDOJQ . You are receiving this because you were mentioned.Message ID: @.***>

27rabbitlt avatar Jul 27 '23 07:07 27rabbitlt

I guess the cause is the new html element cf-even-line cf-odd-line. These new attribute is used to display the sample input in different color to distinguishing between different testcase On Wed, Jul 26, 2023 at 17:37 stdout @.> wrote: I think this problem is caused by the upgrade of codeforces. I have not meet this issue when I start an old contest. These html content is for selecting a set of test data quickly. — Reply to this email directly, view it on GitHub <#163 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A33BDHZGMYPORFW6OPG4643XSDQNBANCNFSM6AAAAAAV3GDOJQ . You are receiving this because you commented.Message ID: @.>

Yes, that was the issue, I changed the parse function to parse that new HTML syntax.

visrut-at-incubyte avatar Jul 27 '23 07:07 visrut-at-incubyte