結果
| 問題 | No.1279 Array Battle |
| コンテスト | |
| ユーザー |
野田正太
|
| 提出日時 | 2020-12-02 13:05:42 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 310 bytes |
| 記録 | |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 21,544 KB |
| 実行使用メモリ | 20,700 KB |
| 最終ジャッジ日時 | 2026-08-26 01:40:57 |
| 合計ジャッジ時間 | 6,352 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 20 |
ソースコード
import itertools
itertools.permutations()
n=int(input())
a=[int(s)for s in input().split()]
b=[int(x)for x in input().split()]
a.sort()
b.sort(reverse=True)
d={}
for i in permutations(a):
t=0
print(t)
for j in range(n):
t+=max(i[j]-b[j],0)
print(t)
d.setdefault(t,0)
d[t]+=1
野田正太