結果
| 問題 |
No.851 テストケース
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-01-20 20:14:46 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 356 bytes |
| コンパイル時間 | 73 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-07-02 22:59:33 |
| 合計ジャッジ時間 | 1,537 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 18 WA * 2 |
ソースコード
# yukicoder No.851 テストケース 2020/01/20
n=int(input())
a=[]
for i in range(n):
res=list(map(int,input().split()))
if len(res)>1:
print('assert')
exit()
a.append(*res)
ans=set()
for i in range(n):
for j in range(n):
if i==j:continue
ans.add(a[i]+a[j])
ans=sorted(ans)[::-1]
print(ans[1%len(ans)])