結果
問題 |
No.851 テストケース
|
ユーザー |
![]() |
提出日時 | 2019-08-21 22:03:24 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 299 bytes |
コンパイル時間 | 158 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-09 20:38:36 |
合計ジャッジ時間 | 1,722 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 18 WA * 2 |
ソースコード
input() buf=input() if len(buf.split())==3: print('assert') else: input_lines=[buf] for i in range(2): input_lines.append(input()) numbers=list(map(int,input_lines)) numbers.sort() ans = numbers[0]*2 if numbers[0]==numbers[1] else numbers[0]+numbers[2] print(ans)