Solutions of Hello Marisa! - MarisaOJ: Marisa Online Judge

Solutions of Hello Marisa!

Select solution language

Write solution here.


User Avatar QuangBui    Created at    10 likes

Đây là bài cơ bản đầu tiên để làm quen với ngôn ngữ lập trình. ### C++ ```cpp #include <iostream> // <stdio> nếu dùng C int main() { cout << "Hello Marisa!"; // printf("Hello Marisa!") nếu dùng C } ``` ### Python ```py print("Hello Marisa!") ``` ~~Sao bạn lại bấm vào lời giải bài này vậy.~~

User Avatar bach2327290901    Created at    7 likes

NOTICE: PYTHON HERE. This is really simple. Use Python's print() command to do this problem. Your code should look like this: print("Hello Marisa!") (Honestly, do you REALLY don't know how to do this???)

omegumunot    Created at    3 likes

# Hello Marisa! ## Idea We can use ```std::cout``` to print text to console, solving the problem in $O(1)$. ## Code ``` #include <bits/stdc++.h> using namespace std; using ll = long long; const int MOD = 1E9 + 7; const int INF = 1E9; const ll INFLL = 1E18; int main() { ios_base::sync_with_stdio(false); cin.tie(0); cout << "Hello Marisa!\n"; }```