SHARE
TWEET

Untitled

a guest May 31st, 2019 81 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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top