結果

問題 No.427 テレビ
ユーザー megane_anko
提出日時 2021-02-11 00:03:00
言語 TypeScript
(5.7.2)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 248 bytes
コンパイル時間 7,843 ms
コンパイル使用メモリ 228,388 KB
実行使用メモリ 39,424 KB
最終ジャッジ日時 2024-12-31 16:23:29
合計ジャッジ時間 9,156 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

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