Skip to content

Commit 32df88d

Browse files
committed
Fix answer comparison failing regression
1 parent fac78ee commit 32df88d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/judge/provider/JudgeViewProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function setTestcaseStats(state: IState, timeLimit: number) {
4848
state.status = Status.RE;
4949
} else if (state.acceptedStdout.data === '\n') {
5050
state.status = Status.NA;
51-
} else if (state.stdout === state.acceptedStdout) {
51+
} else if (state.stdout.data === state.acceptedStdout.data) {
5252
state.status = Status.AC;
5353
} else {
5454
state.status = Status.WA;

0 commit comments

Comments
 (0)