https://www.acmicpc.net/problem/17364시간 1.5초, 메모리 1024MBinput :N K(1 ≤ N ≤ 100,000)(1 ≤ K ≤ 100,000)Si Ei(1 <= Si Ei <= 1000000000)output :
https://codeforces.com/contest/1536/problem/D시간 2초, 메모리 256MBinput :t (1 ≤ t ≤ 104)n (1 ≤ n ≤ 5⋅105)b1, b2, …, bn (−109 ≤ bi ≤ 109)output : For e
https://codeforces.com/contest/1511/problem/D시간 2초, 메모리 256MBinput :n k (1 ≤ n ≤ 2⋅105; 1 ≤ k ≤ 26)output : Print the string s such that it consi
https://codeforces.com/contest/1511/problem/C시간 2초, 메모리 256MBinput :n q (2 ≤ n ≤ 3⋅105; 1 ≤ q ≤ 3⋅105)a1, a2, …, an (1 ≤ ai ≤ 50)t1, t2, …, tn (1
https://codeforces.com/contest/1511/problem/B시간 2초, 메모리 256MBinput :t (1 ≤ t ≤ 285)a b c (1 ≤ a,b ≤ 9, 1 ≤ c ≤ min(a,b))output : For each testcas
https://codeforces.com/contest/1511/problem/A시간 2초, 메모리 256MBinput :t (1≤t≤104)n (1≤n≤50)r1, r2, …, rn (1 ≤ ri ≤ 3)output : For each testcase pri