https://codeforces.com/contest/1484/problem/C시간 2초, 메모리 512MBinput :t (1 ≤ t ≤ 10000)n m (1 ≤ n, m ≤ 100000)ki, fi1, ..., fiki(1 ≤ ki, fij ≤ n)ou
https://codeforces.com/contest/1484/problem/B시간 1초, 메모리 256MBinput :t (1 ≤ t ≤ 105)n (1 ≤ n ≤ 105)a1, a2, …, an (0 ≤ ai ≤ 109 )output : For ever
https://codeforces.com/contest/1484/problem/A시간 1초, 메모리 256MBinput :t (1 ≤ t ≤ 100)a b (1 ≤ a, b ≤ 100)output : For each test case print the sing