Advertisement
Guest User

Untitled

a guest
May 31st, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment
Advertisement