https://codeforces.com/contest/1519/problem/D시간 2초, 메모리 256MBinput :n (1 ≤ n ≤ 5000)a1, a2, …, an (1 ≤ ai ≤ 107)b1, b2, …, bn (1 ≤ bi ≤ 107)outpu
https://codeforces.com/contest/1519/problem/C시간 2초, 메모리 256MBinput :t (1 ≤ t ≤1000)n (1 ≤ n ≤ 2⋅105)u1, u2, …, un (1 ≤ ui ≤ n)s1, s2, …, sn (1 ≤
https://codeforces.com/contest/1529/problem/A시간 1초, 메모리 256MBinput :t (1 ≤ t ≤ 100)n m k (1 ≤ n,m ≤ 100; 0 ≤ k ≤ 104)output : For each test case,
https://codeforces.com/contest/1519/problem/A시간 1초, 메모리 256MBinput :t (1 ≤ t ≤ 1000)r b d (1 ≤ r,b ≤ 109; 0 ≤ d ≤ 109)output : For each test case