結果

問題 No.441 和か積
ユーザー kyo1
提出日時 2020-05-16 00:34:03
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 337 bytes
コンパイル時間 2,198 ms
コンパイル使用メモリ 192,100 KB
最終ジャッジ日時 2025-01-10 12:17:31
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 23 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  string A, B;
  cin >> A >> B;
  if ((A == "0" && B == "0") || (A == "2" && B == "2")) {
    cout << 'E' << '\n';
  } else if (A == "0" || B == "0") {
    cout << 'S' << '\n';
  } else {
    cout << 'P' << '\n';
  }
  return 0;
}
0