結果

問題 No.2873 Kendall's Tau
ユーザー Cool-TachibanäCool-Tachibanä
提出日時 2024-09-06 22:59:47
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 3,909 ms / 4,500 ms
コード長 200 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 182,144 KB
最終ジャッジ日時 2024-09-06 23:01:28
合計ジャッジ時間 98,120 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3,909 ms
99,744 KB
testcase_01 AC 2,367 ms
99,744 KB
testcase_02 AC 2,385 ms
99,632 KB
testcase_03 AC 2,308 ms
99,756 KB
testcase_04 AC 2,296 ms
99,508 KB
testcase_05 AC 2,420 ms
99,716 KB
testcase_06 AC 2,318 ms
99,488 KB
testcase_07 AC 3,048 ms
117,812 KB
testcase_08 AC 3,102 ms
116,932 KB
testcase_09 AC 3,085 ms
117,844 KB
testcase_10 AC 3,105 ms
117,712 KB
testcase_11 AC 3,079 ms
117,612 KB
testcase_12 AC 3,067 ms
116,596 KB
testcase_13 AC 2,545 ms
104,444 KB
testcase_14 AC 2,944 ms
112,120 KB
testcase_15 AC 2,452 ms
102,604 KB
testcase_16 AC 2,474 ms
102,428 KB
testcase_17 AC 2,860 ms
111,228 KB
testcase_18 AC 2,707 ms
106,764 KB
testcase_19 AC 2,881 ms
110,512 KB
testcase_20 AC 2,492 ms
99,844 KB
testcase_21 AC 2,819 ms
106,352 KB
testcase_22 AC 2,566 ms
101,848 KB
testcase_23 AC 2,817 ms
108,920 KB
testcase_24 AC 2,462 ms
101,140 KB
testcase_25 AC 2,493 ms
102,208 KB
testcase_26 AC 2,961 ms
111,652 KB
testcase_27 AC 2,696 ms
104,460 KB
testcase_28 AC 3,029 ms
113,504 KB
testcase_29 AC 3,054 ms
114,776 KB
testcase_30 AC 2,493 ms
101,804 KB
testcase_31 AC 2,562 ms
103,068 KB
testcase_32 AC 2,827 ms
182,144 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
X, Y = [], []
for _ in range(N):
    Xi, Yi = map(int, input().split())
    X.append(Xi)
    Y.append(Yi)

import scipy.stats as stats
tau, p_value = stats.kendalltau(X, Y)
print(tau)
0