結果

問題 No.441 和か積
ユーザー 10_oh_fu10_oh_fu
提出日時 2016-11-11 22:27:49
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 5 ms / 1,000 ms
コード長 752 bytes
コンパイル時間 2,487 ms
コンパイル使用メモリ 89,344 KB
実行使用メモリ 7,056 KB
最終ジャッジ日時 2023-09-09 10:08:39
合計ジャッジ時間 3,499 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
6,776 KB
testcase_01 AC 5 ms
7,016 KB
testcase_02 AC 4 ms
7,004 KB
testcase_03 AC 4 ms
6,900 KB
testcase_04 AC 5 ms
6,872 KB
testcase_05 AC 3 ms
7,000 KB
testcase_06 AC 5 ms
7,056 KB
testcase_07 AC 4 ms
6,944 KB
testcase_08 AC 5 ms
6,776 KB
testcase_09 AC 4 ms
6,848 KB
testcase_10 AC 5 ms
6,880 KB
testcase_11 AC 4 ms
6,760 KB
testcase_12 AC 5 ms
6,796 KB
testcase_13 AC 5 ms
6,984 KB
testcase_14 AC 4 ms
6,868 KB
testcase_15 AC 4 ms
6,948 KB
testcase_16 AC 4 ms
6,948 KB
testcase_17 AC 4 ms
6,772 KB
testcase_18 AC 5 ms
6,924 KB
testcase_19 AC 4 ms
6,768 KB
testcase_20 AC 4 ms
6,872 KB
testcase_21 AC 4 ms
6,908 KB
testcase_22 AC 4 ms
6,828 KB
testcase_23 AC 4 ms
6,968 KB
testcase_24 AC 4 ms
6,832 KB
testcase_25 AC 4 ms
7,012 KB
testcase_26 AC 5 ms
6,948 KB
testcase_27 AC 5 ms
6,908 KB
testcase_28 AC 5 ms
6,764 KB
testcase_29 AC 4 ms
6,872 KB
testcase_30 AC 4 ms
7,020 KB
testcase_31 AC 5 ms
6,884 KB
testcase_32 AC 5 ms
6,828 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdio>
#include <iostream>
#include <cmath>
#include <cstring> 
#include <sstream>
#include <algorithm>
#include <cstdlib>
#include <map>
#include <queue>
#include <utility>
#include <vector>
#include <set>
#include <memory.h>
#include <iomanip>
#include <bitset>
#include <list>
#include <stack>
 
using namespace std;

#define mod 1000000007

int n;
vector<vector<int> > graph(100001);
vector<int> node(100001, -1);
vector<int> parent(100001, -1);
vector<pair<int, int> > range(100001);

int main()
{
    string a, b;
    cin >> a >> b;
    if((a == "0" && b == "0") || (a == "2" && b == "2")) cout << "E" << endl;
    else if(a == "0" || a == "1" || b == "0" || b == "1") cout << "S" << endl;
    else cout << "P" << endl;
    return 0;
}
0