Editorial for 10002: Hello Algorithm
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Виведемо в першому рядку слово "Hello" (після слова виведемо endl - кінець рядка) cout << "Hello" << endl;
Потім виведемо в новому рядку слово "Algorithm" cout << "Algorithm" << endl;
Або все можна було записати так: cout << "Hello" << endl << "Algorithm" << endl;
#include <bits/stdc++.h>
using namespace std;
int main() {
cout << "Hello" << endl;
cout << "Algorithm" << endl;
return 0;
}
Коментарі