結果
問題 |
No.133 カードゲーム
|
ユーザー |
|
提出日時 | 2020-12-09 18:34:48 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 225 bytes |
コンパイル時間 | 293 ms |
コンパイル使用メモリ | 82,688 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-09-19 01:23:27 |
合計ジャッジ時間 | 1,930 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 2 |
other | AC * 1 WA * 18 |
ソースコード
import itertools n = int(input()) a = list(map(int, input().split())) b = list(map(int, input().split())) rest = 0 win = 0 for i in a: for j in b: rest += 1 if i > j: win += 1 print(win/rest)