結果
問題 | No.441 和か積 |
ユーザー |
![]() |
提出日時 | 2017-01-15 21:57:39 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 1,000 ms |
コード長 | 256 bytes |
コンパイル時間 | 222 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-27 03:43:07 |
合計ジャッジ時間 | 2,230 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
s = input().split(" ")if ((s[0][0] == '0' and s[1][0] != '0') or (s[0][0] != "0" and s[1][0] == '0')) or (s[0] == '1' or s[1] == '1'):print("S")elif (s[0] == "2" and s[1] == "2") or (s[0] == "0" and s[1] == "0"):print("E")else:print("P")