結果
| 問題 |
No.2873 Kendall's Tau
|
| コンテスト | |
| ユーザー |
寝癖
|
| 提出日時 | 2024-07-09 23:03:33 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 203 bytes |
| コンパイル時間 | 661 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 195,764 KB |
| 最終ジャッジ日時 | 2024-09-15 11:55:18 |
| 合計ジャッジ時間 | 13,991 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 29 TLE * 1 |
ソースコード
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()
寝癖