• Apr 26, 2025 •C S
0 likes • 3 views
[*.cs] indent_style = space indent_size = 2 tab_width = 2 csharp_new_line_before_open_brace = none
• Aug 27, 2024 •vercetti322
0 likes • 6 views
#include <iostream> #include <vector> #include <algorithm> #include <cstdlib> #include <ctime> using namespace std; // Function to generate random numbers vector<int> generateRandomNumbers(int count, int minValue, int maxValue) { vector<int> numbers; for (int i = 0; i < count; ++i) { numbers.push_back(rand() % (maxValue - minValue + 1) + minValue); } return numbers; } // Function to print a vector of integers void printVector(const vector<int>& vec) { for (int num : vec) { cout << num << " "; } cout << endl; } // Function to sort and display numbers void sortAndDisplayNumbers(vector<int>& numbers) { sort(numbers.begin(), numbers.end()); cout << "Sorted numbers: "; printVector(numbers); } int main() { // Seed the random number generator srand(static_cast<unsigned int>(time(0))); int count, minValue, maxValue; cout << "Enter the number of random numbers to generate: "; cin >> count; cout << "Enter the minimum value: "; cin >> minValue; cout << "Enter the maximum value: "; cin >> maxValue; // Generate random numbers vector<int> numbers = generateRandomNumbers(count, minValue, maxValue); // Display unsorted numbers cout << "Unsorted numbers: "; printVector(numbers); // Sort and display sorted numbers sortAndDisplayNumbers(numbers); return 0; }
• Jan 9, 2026 •CodeCatch
0 likes • 1 view
{ "bindAddress": "", "bindPort": 2001, "publicAddress": "", "publicPort": 2001, "a2s": { "address": "0.0.0.0", "port": 17777 }, "rcon": { "address": "0.0.0.0", "port": 19999, "password": "fobarma1234!", "permission": "admin", "blacklist": [], "whitelist": [] }, "game": { "name": "[NA1] FOB Arma | Arland Game Master | fobarma.com", "password": "", "passwordAdmin": "fobarma1234!", "admins": [ "76561198054239558", "76561198097176793", "76561198968225358", "76561199833357392", "76561198073098171" ], "scenarioId": "{2BBBE828037C6F4B}Missions/22_GM_Arland.conf", "maxPlayers": 128, "visible": true, "crossPlatform": true, "gameProperties": { "serverMaxViewDistance": 2500, "serverMinGrassDistance": 150, "networkViewDistance": 1500, "disableThirdPerson": true, "fastValidation": true, "battlEye": true, "VONDisableUI": false, "VONDisableDirectSpeechUI": false, "VONCanTransmitCrossFaction": false }, "mods": [ { "modId": "595F2BF2F44836FB", "name": "RHS - Status Quo" } ] }, "operating": { "lobbyPlayerSynchronise": true, "joinQueue": { "maxSize": 50 } } }
• Dec 9, 2025 •JordanWinston
• Nov 18, 2022 •AustinLeath
0 likes • 11 views
#!/bin/bash yum -y install httpd systemctl enable httpd systemctl start httpd hostname > /var/www/html/index.html
• Apr 14, 2021 •Daedalus
0 likes • 0 views
Eqtt vw wvm awtdm ug xchhtm?