結果
問題 |
No.851 テストケース
|
ユーザー |
|
提出日時 | 2019-09-25 10:45:51 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 3,153 ms |
コード長 | 266 bytes |
コンパイル時間 | 96 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-21 20:52:11 |
合計ジャッジ時間 | 1,848 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
def func(): ds=[] for x in range(int(input())): try: ds.append(int(input())) except: print("\"assert\"") return l=[ds[0]+ds[1],ds[0]+ds[2],ds[1]+ds[2]] print(sorted(set(l),reverse=True)[1] ) func()