Ignore whitespace (or not) stdout difference mode #10

Closed
opened 2024-03-01 11:54:31 +08:00 by 张泊明518370910136 · 2 comments
No description provided.
张泊明518370910136 added the
priority
p3
label 2024-03-01 11:54:31 +08:00
张泊明518370910136 added this to the (deleted) project 2024-03-01 11:54:31 +08:00
manuel added the
component
parser
label 2024-03-01 19:00:31 +08:00

2950961838/judger/grpc.go (L300)
This line is used to compare the expected ans and the real output.

The go-judge will directly give the output in RESTAPI and we can write our own comparing style.

https://github.com/criyle/go-judger-demo/blob/2950961838fe32d6c67667c23f97af0b0e9228bd/judger/grpc.go#L300 This line is used to compare the expected ans and the real output. The go-judge will directly give the output in RESTAPI and we can write our own comparing style.
Author
Owner

implement a Myers algo, return the line numbers, and output the different lines as comment

then it should looks like this in gitea comments

line 0
- line 0
+ line 1
line 2
implement a Myers algo, return the line numbers, and output the different lines as comment then it should looks like this in gitea comments ```diff line 0 - line 0 + line 1 line 2 ```
张泊明518370910136 added a new dependency 2024-04-01 04:49:28 +08:00
张泊明518370910136 removed a dependency 2024-04-01 04:50:45 +08:00
Sign in to join this conversation.
No description provided.