Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

AO101 - Mail

Информатик компанид  шинээр орсон ажилтнуудынхаа овог нэрийг ашиглан тус бүрт байгууллагынхаа домайн дээр мэйл хаяг үүсгэхээр болов. Мэйл хаяг нь нэр.овог@informatics.mn хэлбэртэй байх юм. Элссэн ажилчдын тоо олон тул програм зохиож хийхээр болов. Програмыг зохионо уу.

 

Оролт: Эхний мөрөнд шинээр ажилд орсон ажилтны тоо N(1<=N<=100) дараагийн N мөрөнд ажилтны овог нэр өгөгдөнө. Овог ба нэрийн эхний үсэг том, бусад үсэг жижгээр,  тус бүрийн үсгийн тоо 20-оос хэтрэхгүй

 

Гаралт: Мэйл хаяг болох нэр.овог@informatics.mn хэлбэртэй N ширхэг тэмдэгт мөр нэг нэг мөрөнд байрлана. Бүгд жижиг үсгээр бичигдэнэ.

 

Жишээ

Оролт:

5

Michael Jackson

Donald Knuth

Roman Jabarov

Sergey Baskakov

Madonna Ivanova

Гаралт:

jackson.michael@informatics.mn

knuth.donald@informatics.mn

jabarov.roman@informatics.mn

baskakov.sergey@informatics.mn

ivanova.madonna@informatics.mn


Нэмсэн:munkhbat
Огноо:2017-04-03
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:Бүгд дараах хэлүүдээс бусад: NCSHARP JULIA PYPY3

hide comments
2024-01-21 08:51:37
Grass is a monocotyledonous, herbaceous plant with narrow leaves, typically arranged in two rows. It is a member of the Poaceae family and is one of the most common and widespread plants on Earth. Grass is known for its ability to grow in a wide range of environments, from lawns and meadows to forests and savannas.

Grass plays a crucial role in the ecosystem, serving as a primary food source for many herbivores and providing habitat for a variety of wildlife. It also helps to stabilize soil, prevent erosion, and contribute to the overall health of the environment.

From a horticultural perspective, grass is often cultivated for use as a turfgrass in lawns, sports fields, and golf courses. It is also used for grazing by livestock and as a feed crop for animals. In addition, some species of grass are cultivated for their ornamental value in landscaping and gardening.

Overall, grass is a versatile and important plant that has both ecological and practical significance in various aspects of human life.
2024-01-21 08:51:28
Photosynthesis is the process by which green plants, algae, and some bacteria convert light energy from the sun into chemical energy in the form of glucose (sugar). This process takes place in the chloroplasts of plant cells and involves several key steps.

First, light energy is absorbed by chlorophyll, a green pigment found in the chloroplasts. This energy is used to split water molecules into oxygen and hydrogen ions. The oxygen is released into the atmosphere as a byproduct, while the hydrogen ions are used in the next step of the process.

Next, the hydrogen ions are combined with carbon dioxide from the air to produce glucose through a series of chemical reactions known as the Calvin cycle. This glucose is then used by the plant as a source of energy for growth and maintenance.

Overall, photosynthesis is a crucial process for life on Earth as it provides the primary source of energy for most organisms and also helps to regulate the levels of oxygen and carbon dioxide in the atmosphere.
2023-10-13 10:10:30
#include <iostream>
#include <string>
#include <cctype>

int main() {
int n;
std::cin >> n;
std::cin.ignore(); // Урьдчилсан enter товчлуурыг алгасах

for (int i = 0; i < n; ++i) {
std::string fullName;
std::getline(std::cin, fullName);

// Нэр болон овогыг салгаж авах
std::string firstName = "";
std::string lastName = "";
bool foundSpace = false;

for (char c : fullName) {
if (c == ' ') {
foundSpace = true;
} else {
if (foundSpace) {
lastName += std::tolower(c);
} else {
firstName += std::tolower(c);
}
}
}

// Мэйл хаягыг хэвлэх
std::cout << lastName << "." << firstName << "@informatics.mn" << std::endl;
}

return 0;
}

2023-09-29 10:18:18
aeoo

Last edit: 2023-09-29 10:18:31
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.