Deutsch
Telegram

Nachricht #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; }

In der Nähe im Feed

SShohjahon SamarovOquvchiga narxga orgatp bolarkanmiSShohjahon SamarovBoy bop ketsam aytaman unda
diese Nachricht
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 · Gruppe · Technik
114Mitglieder39 409Nachrichten im Index
Community-Feed In Telegram öffnen

Ein offener öffentlicher Feed aus dem Suchindex ChatCrawler — „Google für das öffentliche Telegram“; wird aktualisiert, während die Community gecrawlt wird. Zeiten in UTC.

Nur öffentliche Inhalte, offizielle Telegram-API. Über uns · FAQ · Grenzen des Index · Seite entfernen · Katalog · Suche · So zählen wir