結果
問題 | No.2873 Kendall's Tau |
ユーザー | kwm_t |
提出日時 | 2024-09-06 23:34:06 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
AC
|
実行時間 | 3,766 ms / 4,500 ms |
コード長 | 203 bytes |
コンパイル時間 | 444 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 195,620 KB |
最終ジャッジ日時 | 2024-09-18 09:40:33 |
合計ジャッジ時間 | 106,535 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
外部呼び出し有り |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2,425 ms
99,448 KB |
testcase_01 | AC | 2,345 ms
99,312 KB |
testcase_02 | AC | 2,373 ms
99,720 KB |
testcase_03 | AC | 2,388 ms
99,312 KB |
testcase_04 | AC | 2,402 ms
99,444 KB |
testcase_05 | AC | 2,325 ms
99,464 KB |
testcase_06 | AC | 2,425 ms
99,696 KB |
testcase_07 | AC | 3,742 ms
194,472 KB |
testcase_08 | AC | 3,766 ms
194,616 KB |
testcase_09 | AC | 3,754 ms
194,976 KB |
testcase_10 | AC | 3,731 ms
195,620 KB |
testcase_11 | AC | 3,693 ms
194,808 KB |
testcase_12 | AC | 3,588 ms
191,112 KB |
testcase_13 | AC | 2,743 ms
127,736 KB |
testcase_14 | AC | 3,310 ms
172,292 KB |
testcase_15 | AC | 2,514 ms
113,520 KB |
testcase_16 | AC | 2,530 ms
114,212 KB |
testcase_17 | AC | 3,379 ms
168,440 KB |
testcase_18 | AC | 3,115 ms
149,624 KB |
testcase_19 | AC | 3,385 ms
165,748 KB |
testcase_20 | AC | 2,601 ms
114,440 KB |
testcase_21 | AC | 3,180 ms
155,168 KB |
testcase_22 | AC | 2,730 ms
122,228 KB |
testcase_23 | AC | 3,235 ms
155,892 KB |
testcase_24 | AC | 2,486 ms
104,948 KB |
testcase_25 | AC | 2,604 ms
112,760 KB |
testcase_26 | AC | 3,402 ms
168,824 KB |
testcase_27 | AC | 2,940 ms
140,836 KB |
testcase_28 | AC | 3,544 ms
177,432 KB |
testcase_29 | AC | 3,584 ms
181,928 KB |
testcase_30 | AC | 2,522 ms
109,560 KB |
testcase_31 | AC | 2,717 ms
121,512 KB |
testcase_32 | AC | 3,194 ms
155,256 KB |
ソースコード
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()