結果
問題 |
No.851 テストケース
|
ユーザー |
|
提出日時 | 2019-07-28 18:11:06 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 419 bytes |
コンパイル時間 | 221 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-07-02 15:04:33 |
合計ジャッジ時間 | 1,464 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 15 WA * 5 |
ソースコード
N = int(input()) input_list = [] for i in range(N): n = input() comp = n.strip('\n').split() if len(comp) == 3: break else: input_list.append(int(n)) if len(input_list) == 3: sums = [ input_list[0]+input_list[1], input_list[0]+input_list[2], input_list[1]+input_list[2] ] sums.sort() print(sums[1]) else: print('assert')