結果

問題 No.427 テレビ
ユーザー 譁 ュ怜喧縺æ–‡å—åŒ譁 ュ怜喧縺æ–‡å—åŒ
提出日時 2020-08-20 02:08:15
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 180 bytes
コンパイル時間 471 ms
コンパイル使用メモリ 63,732 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-20 17:56:33
合計ジャッジ時間 966 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,248 KB
testcase_01 AC 1 ms
5,376 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 WA -
testcase_04 AC 2 ms
5,376 KB
testcase_05 AC 1 ms
5,376 KB
testcase_06 AC 1 ms
5,376 KB
testcase_07 AC 1 ms
5,376 KB
testcase_08 AC 1 ms
5,376 KB
testcase_09 AC 1 ms
5,376 KB
権限があれば一括ダウンロードができます

ソースコード

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