Advertisement
Guest User

Untitled

a guest
May 31st, 2019
152
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <chrono>
  3. #include <thread>
  4. #include <string>
  5. using namespace std;
  6.  
  7. int main(int argc, char *argv[]){
  8.     std::string s = argv[1];
  9.     int i = std::stoi(s);
  10.     std::this_thread::sleep_for(std::chrono::milliseconds(i));
  11.     return 0;
  12. }
Advertisement
RAW Paste Data Copied
Advertisement