Codeforces Round #686 (Div. 3) 題解

題目連接:Codeforces Round #686 (Div. 3) A. Special Permutation 總體向後循環移一位html int main() { int t; cin >> t; while(t--) { int n; cin >> n; for(int i=1;i<=n;i++) { if((i+1)%(
相關文章
相關標籤/搜索