結果
| 問題 |
No.133 カードゲーム
|
| ユーザー |
convexineq
|
| 提出日時 | 2020-12-08 02:17:51 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 36 ms / 5,000 ms |
| コード長 | 208 bytes |
| コンパイル時間 | 144 ms |
| コンパイル使用メモリ | 81,744 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-09-17 14:17:34 |
| 合計ジャッジ時間 | 2,090 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 |
ソースコード
n = int(input()) *a, = map(int,input().split()) *b, = map(int,input().split()) from itertools import permutations print(sum(sum(u > v for u,v in zip(pa,b)) > n//2 for pa in permutations(a))/([0,1,2,6,24][n]))
convexineq