https://codeforces.com/contest/1537/problem/C시간 1초, 메모리 256MBinput :t (1≤t≤100)n (2≤n≤2⋅10^5)h1,…,hn (1≤hi≤10^9)output : For each test case, outp
https://codeforces.com/contest/1537/problem/B시간 1초, 메모리 256MBinput :t (1≤t≤10^4)n, m, i, j (1≤n,m≤10^9, 1≤i≤n, 1≤j≤m)output : For each test case,
https://codeforces.com/contest/1516/problem/A시간 1초, 메모리 256MBinput :t (1≤t≤1000)n (1≤n≤50)a1,…,an (−10^4≤ai≤10^4)output : For each test case, o