啊啊啊啊

a
This commit is contained in:
shenjack-5600u 2024-05-09 22:58:34 +08:00
parent 924d850e01
commit 01187cf8d9
Signed by: shenjack
GPG Key ID: FDF9864E11C7E79F
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ function main() {
return [4 /*yield*/, fight(names)]; return [4 /*yield*/, fight(names)];
case 1: case 1:
result = _a.sent(); result = _a.sent();
console.log("赢家:|${result.source_plr}|"); console.log("\u8D62\u5BB6:|".concat(result.source_plr, "|"));
return [2 /*return*/]; return [2 /*return*/];
} }
}); });

View File

@ -157,7 +157,7 @@ async function main() {
const names = fs.readFileSync(path.resolve(__dirname, "input.txt"), "utf-8"); const names = fs.readFileSync(path.resolve(__dirname, "input.txt"), "utf-8");
const result = await fight(names); const result = await fight(names);
console.log("赢家:|${result.source_plr}|"); console.log(`赢家:|${result.source_plr}|`);
} }
main(); main();