Select solution language
Đây là bài cơ bản đầu tiên để làm quen với ngôn ngữ lập trình.
#include <iostream> // <stdio> nếu dùng C
int main() {
cout << "Hello Marisa!"; // printf("Hello Marisa!") nếu dùng C
}
print("Hello Marisa!")
Sao bạn lại bấm vào lời giải bài này vậy.
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???)
We can use std::cout
to print text to console, solving the problem in O(1).
#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";
}```
print(“Hello Marisa!”)
Shortest possible C++ solution
main(){__builtin_puts("Hello Marisa!");}
Đơn giản thôi, đây là bài cơ bản để làm quen với các ngôn ngữ lập trình:
print("Hello Marisa!)
#include <iostream>
using namespace std;
int main () {
cout << "Hello Marisa!";
return 0;
}
#include <stdio.h>
using namespace std;
int main () {
printf ("Hello Marisa!");
return 0;
}
(Hỏi thật, bạn vào đây làm gì vậy :>)