English
Open in Telegram

Message #include<iostream>

12 April 2023
.
#include<iostream> #include<set> #include<string> using namespace std; int main(){ set < string > set1,set2; multiset < string > set3, set4, set5; string tuplam; int n; cout << "Elementlar soni: "; cin >> n; for(int i = 0; i < n; i ++){ cin >> tuplam; } cout << "1 - tuplam elementlari : \n"; for(auto it = set.begin(); it != set.end(); it ++){ cout << *it << '\n'; } string s; int a; for(auto it = set.begin(); it != set.end(); it ++){ s = *it; a = s.length(); if(f % 2 == 0){ set1.insert(s); set4.insert(s); } else{ set6.insert(a); set2.insert(a); } cout << "Elementlari uzinligi juft bo'lgan 2 - tuplam elementlari : \n"; for(auto i = set4.begin(); i != set4.end(); i ++){ cout << *i << '\n'; } cout << "Elementlari uzinligi toq bo'lgan 3 - tuplam elementlari : \n"; for(auto i = set6.begin(); i != set6.end(); i ++){ cout << *i << '\n'; } cout << "Saralangandan keyingi holat:\n"; cout << "2 - tuplam elementlari: \n"; for(auto i = set1.begin(); i != set1.end(); i ++){ cout << *i << '\n'; } cout << "3 - tuplam elementlari: \n"; for(auto i = set2.begin(); i != set2.end(); i ++){ cout << *i << '\n'; } return 0; }

Nearby in the feed

SShohjahon SamarovOquvchiga narxga orgatp bolarkanmiSShohjahon SamarovBoy bop ketsam aytaman unda
this message
FFayzullohhttps://youtu.be/RtzGUx4I2CIMMadinabonu#include <iostream> #include <string> #include <set> #include<algorithm> using namespace std; int main() { string input; cout << "Elementlarni kirirting "; getl
CC++ vs PythonC++ vs Python@cpp_vs_python · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count