結果

問題 No.692 square1001 and Permutation 1
ユーザー megane_ankomegane_anko
提出日時 2021-02-16 15:38:46
言語 TypeScript
(5.4.3)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 7,937 ms
コンパイル使用メモリ 254,180 KB
実行使用メモリ 42,356 KB
最終ジャッジ日時 2023-10-11 03:51:34
合計ジャッジ時間 9,433 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
42,136 KB
testcase_01 AC 75 ms
42,112 KB
testcase_02 AC 76 ms
42,356 KB
testcase_03 AC 76 ms
42,224 KB
testcase_04 AC 78 ms
42,156 KB
testcase_05 AC 76 ms
42,108 KB
testcase_06 AC 77 ms
42,236 KB
testcase_07 AC 78 ms
42,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import * as fs from 'fs';
const input = fs.readFileSync('/dev/stdin', 'utf8');

let n = parseInt(input);

if (n === 1) {
    console.log("square1001");
} else {
    console.log("Petr");
}
0