結果

問題 No.441 和か積
ユーザー tatt61880
提出日時 2018-02-19 13:31:08
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 248 bytes
コンパイル時間 1,604 ms
コンパイル使用メモリ 165,000 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-07 14:30:41
合計ジャッジ時間 2,136 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

//{{{
#include <bits/stdc++.h>
using namespace std;
//}}}

int main(){
	string A, B;
	cin >> A >> B;
	if(A == "0" && B == "0"){
		puts("E");
	}else if(A == "1" || A == "0" || B == "1" || B == "0"){
		puts("S");
	}else{
		puts("P");
	}
	return 0;
}
0