Editorial for Lập Trình Không Khó
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.
Author:
Đây là bài tập mẫu giúp các bạn làm quen hệ thống, do đó mình sẽ cung cấp lời giải mẫu để các bạn tham khảo.
Ngôn ngữ Scratch
Ngôn ngữ C
#include <stdio.h>
int main() {
printf("Lap Trinh Khong Kho!");
return 0;
}
Ngôn ngữ C++
#include <iostream>
using namespace std;
int main() {
cout << "Lap Trinh Khong Kho!";
return 0;
}
Ngôn ngữ Java
// Main class name must be `main`
public class main{
public static void main(String[] args){
System.out.println("Lap Trinh Khong Kho!");
}
}
Ngôn ngữ CSharp
// Hello World! program
namespace HelloWorld
{
class Hello {
static void Main(string[] args)
{
System.Console.WriteLine("Lap Trinh Khong Kho!");
}
}
}
Ngôn ngữ Javascript
/*
* This is a custom version of V8 that adds six functions in order to perform I/O and aid in online judging.
*
* * `print(...)`: similar to Python's `print`, prints all argument separated by space followed by new line.
* * `flush()`: flushes stdout, ensuring everything output by `print()` immediately shows up.
* * `gets()`: similar to the Ruby equivalent, returns one line of input from `stdin`.
* * `read(bytes)`: read `bytes` bytes from stdin as an `ArrayBuffer`.
* * `write(buffer)`: write a typed array, `ArrayBuffer`, or a view of `ArrayBuffer` to stdout.
* * `quit(code)`: exits the program with `code`.
* * You can also assign to the global variable `autoflush` to control whether `print()` flushes.
*
*/
print("Lap Trinh Khong Kho!");
Ngôn ngữ Python
print("Lap Trinh Khong Kho!")
Comments
khó quá