This commit is contained in:
shenjack-5600u 2024-05-09 22:57:23 +08:00
parent 3defd42df8
commit 924d850e01
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); console.log("赢家:|${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); console.log("赢家:|${result.source_plr}|");
} }
main(); main();