https://codeforces.com/contest/1512/problem/E시간 2초, 메모리 256MBinput :t (1 ≤ t ≤ 500)n l r s (1 ≤ n ≤ 500)(1 ≤ l ≤ r ≤ n)(1 ≤ s ≤ n(n+1) / 2).outpu
https://codeforces.com/contest/1512/problem/D시간 2초, 메모리 256MBinput :t (1 ≤ t ≤ 104)n (1 ≤ n ≤ 2 \* 105)b1, b2, …, bn + 2 (1 ≤ bi ≤ 109)output : "
https://codeforces.com/contest/1512/problem/A시간 2초, 메모리 256MBinput :t (1 ≤ t ≤ 104)a b(0 ≤ a, b ≤ 2 \* 105)a + b 길이의 문자열output : "-1", if you can
https://codeforces.com/contest/1512/problem/B시간 2초, 메모리 256MBinput :t (1 ≤ t ≤ 400)n (2 ≤ n ≤ 400)'.' 혹은 '\*'로 이루어진 길이 n짜리 문장output : For each te
https://codeforces.com/contest/1512/problem/A시간 2초, 메모리 256MBinput :t (1 ≤ t ≤ 100)n (3 ≤ n ≤ 100)a1, a1, …, a1 (1 ≤ ai ≤ 100)output : For each t