結果
| 問題 | No.3434 [Cherry 8th Tune N] 大きくして Hold on Card! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-23 22:27:30 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 607 ms |
| コンパイル使用メモリ | 21,540 KB |
| 実行使用メモリ | 52,996 KB |
| 最終ジャッジ日時 | 2026-07-20 16:31:48 |
| 合計ジャッジ時間 | 39,186 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 40 |
ソースコード
import numpy as np
for i in"T"*int(input()):
N,A,B=int(input()),np.array(input().split(),"q"),np.array(input().split(),"q")
S=A.argsort();K=np.r_[0,np.cumsum(B-A[S])].argmax()
print("".join([str(i) for i in 0+(S<K)]))