結果

問題 No.441 和か積
ユーザー uzumakiyorumunn
提出日時 2017-06-10 01:26:12
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 221 bytes
コンパイル時間 514 ms
コンパイル使用メモリ 56,204 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-22 21:39:31
合計ジャッジ時間 1,483 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 29 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>

using namespace std;

int main(){

	string A,B;

	cin>>A>>B;

	if(A=="0"||A=="1"||B=="0"||B=="1") cout<<"S"<<endl;
	else if(A=="2"&&B=="2") cout<<"E"<<endl;
	else cout<<"P"<<endl;
}			
0