結果
問題 | No.3041 非対称じゃんけん |
ユーザー |
![]() |
提出日時 | 2025-01-24 04:46:30 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 688 ms / 2,200 ms |
コード長 | 290 bytes |
コンパイル時間 | 325 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2025-01-24 04:46:37 |
合計ジャッジ時間 | 4,935 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 28 |
ソースコード
N, F = map(int, input().split())A = list(map(int, input().split()))B = list(map(int, input().split()))C = list(map(int, input().split()))cur = 1for i in range(N):x, y, z = sorted((A[i], B[i], C[i]))y -= xz -= xcur |= cur << y | cur << zprint(cur.bit_count())