fork download
  1. // Online C++ compiler to run C++ program online
  2. #include <iostream>
  3. #include <ctime>
  4.  
  5.  
  6. using namespace std;
  7. int main() {
  8. cout << "Any 1337COde problems will be solvet with random NuMbErs!!! \n";
  9. srand(time(0));
  10. int Z = rand() % (3000 - 2 + 1) + 2;
  11. cout << Z;
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
Any 1337COde problems will be solvet with random NuMbErs!!! 
643