結果
問題 | No.851 テストケース |
ユーザー |
|
提出日時 | 2019-07-30 11:26:35 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 11 ms / 3,153 ms |
コード長 | 210 bytes |
コンパイル時間 | 53 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-07-04 01:39:47 |
合計ジャッジ時間 | 1,018 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 20 |
ソースコード
#yuki851 n=int(raw_input()) try: a=[] for i in xrange(n): a.append(int(raw_input())) s=[a[0]+a[1],a[1]+a[2],a[2]+a[0]] s.sort() if s[1]==s[2]: print s[0] else: print s[1] except: print '"assert"'