Guest User

Untitled

a guest
Dec 9th, 2024
698
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main(){
  6. int n;
  7. cin >> n;
  8. vector <int> v;
  9. while(v.size() < 1e5){
  10. int x = rand();
  11. if(x%2 == 1) continue;
  12. v.push_back(x);
  13. }
  14. for(auto x : v){
  15. if(x == n){
  16. cout << "moo";
  17. return 0;
  18. }
  19. }
  20. cout << "moo";
  21. return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment