結果

問題 No.2873 Kendall's Tau
ユーザー kwm_t
提出日時 2024-09-06 23:34:06
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 203 bytes
コンパイル時間 342 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 228,588 KB
最終ジャッジ日時 2024-09-25 17:38:51
合計ジャッジ時間 101,111 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 TLE * 1
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

def main():
	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])

if __name__ == '__main__':
    main()
0