فارسی
باز کردن در Telegram

پیام #include <iostream>

12 آوریل 2023
M
#include <iostream> #include <string> #include <set> #include<algorithm> using namespace std; int main() { string input; cout << "Elementlarni kirirting "; getline(cin, input); set<string> juft_elementlar; multiset<string> toq_elementlar; string element; for (auto it = input.begin(); it != input.end(); ++it) { if (isspace(*it)) { if (!element.empty()) { if (element.length() % 2 == 0) juft_elementlar.insert(element); else toq_elementlar.insert(element); element.clear(); } } else { element += *it; } } if (!element.empty()) { if (element.length() % 2 == 0) juft_elementlar.insert(element); else toq_elementlar.insert(element); } set<string> sortedSet; merge(juft_elementlar.begin(), juft_elementlar.end(), toq_elementlar.begin(), toq_elementlar.end(), inserter(sortedSet, sortedSet.end())); cout << "Juft elementlar: "; for (const auto& element :juft_elementlar ) cout << element << " "; cout << endl; cout << "Toq elementlar: "; for (const auto& element :toq_elementlar ) cout << element << " "; cout << endl; cout << "Saralangan element to`plami: "; for (const auto&element : sortedSet) cout << element << " "; cout << endl; return 0; }

در همان حوالی فید

..#include<iostream> #include<set> #include<string> using namespace std; int main(){ set < string > set1,set2; multiset < string > set3, set4, set5; string tuplamFFayzullohhttps://youtu.be/RtzGUx4I2CI
این پیام
MMadinabonuعکسMMadinabonumap va multimap sinflaridan foydalanib, amaliy dasturlar yaratish Universitetlar haqida (nomi, rektor_FIO, xodimlar soni, fanlar soni, talabalar soni va profess

فید عمومی باز از ایندکس جست‌وجو ChatCrawler — «Google برای Telegram عمومی»؛ با خزش انجمن به‌روز می‌شود. زمان‌ها به UTC است.

فقط محتوای عمومی، API رسمی Telegram. دربارهٔ ما · پرسش‌ها · محدودیت‌های ایندکس · حذف یک صفحه · کاتالوگ · جست‌وجو · روش محاسبهٔ ما