fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3.  
  4. void solve() {
  5. int n;
  6. cin >> n;
  7. for(int i = 0 ; i < n ; i++) cout<<2*i + 1;
  8.  
  9. }
  10.  
  11. int main() {
  12. int t; cin >> t;
  13. while(t--) {
  14. solve();
  15. cout<<"\n";
  16. }
  17. return 0;
  18. }
Success #stdin #stdout 0s 5300KB
stdin
3
3
6
7
stdout
135
1357911
135791113