• May 13, 2025 •rejordon17-9956
0 likes • 1 view
fsdfsdfsdf
• Oct 15, 2022 •CodeCatch
0 likes • 0 views
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
• Aug 27, 2024 •vercetti322
0 likes • 5 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 10, 2025 •alexandr.zaikin.9999-c10d
0 likes • 2 views
import os
• Sep 27, 2024 •popeyevn
alert('123');
• Nov 18, 2022 •AustinLeath
in case of SCCM error 0x800700A1 do the following: diskpart list disk (list all disks on system) select disk 0 (0 being the disk to setup) clean (wipes the disk) create partition primary (creates windows partition) select partition 1 (selects the first partition) format quick fs=NTFS (sets format of primary partition) assign letter C (assigns the drive letter to "C") exit (exits diskpart)