This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdlib> | |
#include <ctime> | |
const int SIZE = 64; | |
int main() { | |
int arr[SIZE]; | |
int new_arr[SIZE/4]; | |
std::srand(std::time(NULL)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if defined(UNICODE) && !defined(_UNICODE) | |
#define _UNICODE | |
#elif defined(_UNICODE) && !defined(UNICODE) | |
#define UNICODE | |
#endif | |
#include <tchar.h> | |
#include <windows.h> | |
#include <iostream> | |
#include <string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <math.h> | |
#include <windows.h> | |
using namespace std; | |
int main() { | |
SetConsoleOutputCP(1251); | |
while (true) { |