Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <chrono>
- #include <thread>
- #include <string>
- using namespace std;
- int main(int argc, char *argv[]){
- std::string s = argv[1];
- int i = std::stoi(s);
- std::this_thread::sleep_for(std::chrono::milliseconds(i));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement