fork download
  1. #include <iostream>
  2. #include <string>
  3. #include <algorithm>
  4. #include <vector>
  5. using namespace std;
  6.  
  7. int main(int argc, char ** argv)
  8. {
  9. vector<string> args;
  10. copy (argv, argv + argc, back_inserter(args));
  11. if (args.size() == 2 && args[1] == "-f")
  12. cout << "LOL" << endl;
  13. }
Success #stdin #stdout 0s 3468KB
stdin
Standard input is empty
stdout
Standard output is empty