結果

問題 No.441 和か積
ユーザー ID
提出日時 2016-11-11 22:42:13
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 213 bytes
コンパイル時間 392 ms
コンパイル使用メモリ 53,872 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-25 08:33:32
合計ジャッジ時間 1,289 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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 << "P" << endl;
  else cout << "E" << endl;
}
0