結果
問題 | No.441 和か積 |
ユーザー |
![]() |
提出日時 | 2017-01-15 12:28:54 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 1,000 ms |
コード長 | 309 bytes |
コンパイル時間 | 193 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-06-27 03:42:50 |
合計ジャッジ時間 | 2,471 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
instr = input().split(' ')if len(instr) != 2:print('# of input params must be 2')exit -1try:arg1 = int(instr[0])arg2 = int(instr[1])except:print('Input error')exit -1s = arg1 + arg2p = arg1 * arg2if s > p:print('S')elif s < p:print('P')else:print('E')