fork download
  1. #include <iostream>
  2. using namespace std;
  3. int n; int i;
  4. char c;
  5. int main() {
  6.  
  7.  
  8. cin>>n;
  9. cin>>c;
  10. for (i=1; i<=n; i++)
  11. cout<<c;
  12. return 0;
  13. }
Success #stdin #stdout 0s 5276KB
stdin
Standard input is empty
stdout
Standard output is empty