結果
問題 | No.3041 非対称じゃんけん |
ユーザー |
![]() |
提出日時 | 2025-01-24 04:45:07 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 685 ms / 2,200 ms |
コード長 | 294 bytes |
コンパイル時間 | 415 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2025-01-24 04:45:27 |
合計ジャッジ時間 | 4,953 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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 | cur << y | cur << zprint(cur.bit_count())