 
      
    C++
- 1 ответ
- 0 вопросов
    1
    Вклад в тег
    
      
      
    
  
  
 
  
  #include <cstdlib>
#include <iostream>
using namespace std;
int main(){
    string ans = "NO";
    int a[10];
    for (int i = 0; i < 10; i++){
        a[i] = rand() % 4 + 1;
        cout << a[i] << " ";
    }
    for (int i = 0; i < 9; i++){
        if (a[i] == a[i+1]){
            ans = "YES";
            break;
        }
    }
    cout << endl << ans;
    return 0;
} 
  
  python -m pip install cx_freezeimport some_module
from cx_Freeze import setup, Executable
executables = [Executable('example.py')]
setup(name='hello_world',
      version='0.0.1',
      description='My Hello World App!',
      executables=executables)python setup.py build