fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. // your code goes here
  5. int i{25};
  6. while(i--) std::cout << std::rand() % 2 << ' ' ;
  7.  
  8. return 0;
  9. }
Success #stdin #stdout 0s 3096KB
stdin
Standard input is empty
stdout
1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 0 0 0 1 0 1 1 0