judge: fix CR trim

This commit is contained in:
undefined committed 2026-04-30 02:21:43 +08:00
1 parent d66e245bd5
commit ff93869882
1 file changed
+1
+1
View File
@@ -60,6 +60,7 @@ const compareSh = `#!/bin/bash
set -e
process_file() {
cat $1 | awk '
{sub(/\\r+$/,"")}
/^$/{n=n RS};
/./{
printf "%s",n; n="";