結果

問題 No.427 テレビ
ユーザー megane_ankomegane_anko
提出日時 2021-02-11 00:03:00
言語 TypeScript
(5.4.3)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 248 bytes
コンパイル時間 8,571 ms
コンパイル使用メモリ 254,940 KB
実行使用メモリ 42,332 KB
最終ジャッジ日時 2023-09-22 20:39:52
合計ジャッジ時間 10,047 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
42,184 KB
testcase_01 AC 74 ms
42,236 KB
testcase_02 AC 74 ms
42,184 KB
testcase_03 AC 73 ms
42,256 KB
testcase_04 AC 74 ms
42,252 KB
testcase_05 AC 78 ms
42,164 KB
testcase_06 AC 77 ms
42,260 KB
testcase_07 AC 74 ms
42,332 KB
testcase_08 AC 73 ms
42,152 KB
testcase_09 AC 72 ms
42,184 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

let arr = input.split(' ');
let H = parseInt(arr[0]);
let W = parseInt(arr[1]);

if ((H / W) === (4 / 3)) {
    console.log('TATE');
} else {
    console.log('YOKO');
}
0