結果

問題 No.427 テレビ
ユーザー 譁 ュ怜喧縺æ–‡å—åŒ
提出日時 2020-08-20 02:08:15
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 700 ms
コンパイル使用メモリ 63,104 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-12 13:54:26
合計ジャッジ時間 1,155 ms
ジャッジサーバーID
(参考情報)
judge5 / judge
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
	int h,w;
	cin>>h>>w;
	if(h%3==0 and w%4==0) cout<<"YOKO"<<endl;
	else if (h%4==0 and w%3==0) cout<<"TATE"<<endl;
	return 0;
}
0