結果
| 問題 | No.3434 [Cherry 8th Tune N] 大きくして Hold on Card! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-23 22:27:30 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 1,354 ms |
| コンパイル使用メモリ | 20,804 KB |
| 実行使用メモリ | 56,080 KB |
| 最終ジャッジ日時 | 2026-01-23 22:32:38 |
| 合計ジャッジ時間 | 55,929 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)]))