結果

問題 No.441 和か積
ユーザー shichuan_12
提出日時 2016-11-11 22:29:23
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 436 ms
コンパイル使用メモリ 54,572 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-25 08:28:51
合計ジャッジ時間 1,362 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 15 WA * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;

int main()
{
  unsigned 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;
  return 0;
}
0