fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main() {
  6. // your code goes here
  7. string adress;
  8. string command = "wget ";
  9. std::cin >> adress;
  10. string exec = command + adress;
  11. cout << exec.c_str();
  12. return 0;
  13. }
Success #stdin #stdout 0s 3232KB
stdin
http://e...content-available-to-author-only...y.com
stdout
wget http://e...content-available-to-author-only...y.com