結果

問題 No.427 テレビ
ユーザー olphe
提出日時 2016-11-15 23:16:22
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 161 bytes
コンパイル時間 548 ms
コンパイル使用メモリ 53,656 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-22 20:42:03
合計ジャッジ時間 1,104 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "iostream"
using namespace std;

int H,W;
int main(){
cin>>H>>W;
if(H%3==0&&W%4==0&&H/3==W/4)cout <<"YOKO";
else cout<< "TATE";
cout <<"\n";
return 0;
}
0