結果

問題 No.441 和か積
ユーザー sggkshiosggkshio
提出日時 2018-03-08 08:04:11
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 749 bytes
コンパイル時間 653 ms
コンパイル使用メモリ 85,760 KB
実行使用メモリ 27,196 KB
最終ジャッジ日時 2024-04-15 12:01:37
合計ジャッジ時間 1,965 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
27,112 KB
testcase_01 AC 12 ms
26,968 KB
testcase_02 AC 11 ms
27,196 KB
testcase_03 AC 12 ms
26,848 KB
testcase_04 AC 12 ms
27,192 KB
testcase_05 AC 11 ms
27,004 KB
testcase_06 AC 11 ms
27,044 KB
testcase_07 AC 11 ms
27,092 KB
testcase_08 AC 11 ms
26,992 KB
testcase_09 AC 11 ms
27,072 KB
testcase_10 AC 11 ms
27,108 KB
testcase_11 AC 11 ms
27,028 KB
testcase_12 AC 11 ms
26,968 KB
testcase_13 AC 11 ms
27,028 KB
testcase_14 AC 11 ms
26,904 KB
testcase_15 AC 11 ms
27,128 KB
testcase_16 AC 11 ms
27,140 KB
testcase_17 WA -
testcase_18 AC 11 ms
27,092 KB
testcase_19 AC 11 ms
27,156 KB
testcase_20 AC 11 ms
27,176 KB
testcase_21 AC 11 ms
27,036 KB
testcase_22 AC 11 ms
27,152 KB
testcase_23 AC 12 ms
27,004 KB
testcase_24 AC 11 ms
27,148 KB
testcase_25 AC 11 ms
27,168 KB
testcase_26 AC 12 ms
27,092 KB
testcase_27 AC 11 ms
27,080 KB
testcase_28 AC 11 ms
27,160 KB
testcase_29 AC 11 ms
27,024 KB
testcase_30 AC 11 ms
27,140 KB
testcase_31 AC 11 ms
27,112 KB
testcase_32 AC 11 ms
27,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _USE_MATH_DEFINES
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string>
#include<iostream>
#include<iostream>
#include<cctype>
#include<cstdio>
#include<vector>
#include<stack>
#include<queue>
#include <algorithm>
#include<math.h>
#include<set>
#include<map>
#include <sstream>
#include<iomanip>
#include <ctype.h>
using namespace std;

//#include<bits/stdc++.h>

vector<long long int> f[1005][1005];

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

	return 0;
} 
0