結果

問題 No.2873 Kendall's Tau
ユーザー 寝癖
提出日時 2024-07-06 12:21:47
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 148 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 209,084 KB
最終ジャッジ日時 2024-07-09 22:44:57
合計ジャッジ時間 114,129 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 TLE * 1
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

from scipy.stats import kendalltau
N = int(input())
x, y = map(list, zip(*[map(int, input().split()) for _ in range(N)]))
print(kendalltau(x, y)[0])
0