http://bestcoder.hdu.edu.cn/contests/contest_show.php?cid=863 A. #include <bits/stdc++.h> using namespace std; const int mx = 2e5 + 10; const int mod = 1e9+7; typedef long long ll; int main(){ int t; scanf("%d",&t); while(t--){ int n; scanf("%d",&n); printf("...