結果

問題 No.441 和か積
ユーザー makonagix
提出日時 2017-01-03 22:56:59
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 659 ms
コンパイル使用メモリ 54,332 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-16 06:43:30
合計ジャッジ時間 1,793 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 15 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main() {
	long long int a, b;
	cin >> a >> b;
	if ((a + b) > a*b) {
		cout << "S" << endl;
	}
	else if ((a + b) == a*b) {
		cout << "E" << endl;
	}
	else {
		cout << "P" << endl;
	}
	return 0;
}
0