結果
| 問題 | No.1279 Array Battle |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-07 16:52:01 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 887 ms / 2,000 ms |
| + 366µs | |
| コード長 | 213 bytes |
| 記録 | |
| コンパイル時間 | 295 ms |
| コンパイル使用メモリ | 21,408 KB |
| 実行使用メモリ | 29,440 KB |
| 最終ジャッジ日時 | 2026-08-23 08:40:56 |
| 合計ジャッジ時間 | 7,595 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
ソースコード
import itertools as t I,T,m=input,int,max def L():return list(map(T,I().split())) n,l=T(I()),[] a=L() b=L() for p in t.permutations(a,n): c=0 for i in range(n):c+=m(0,p[i]-b[i]) l.append(c) print(l.count(m(l)))