- AtCoder:good_coder_666
- Codeforces:Stanley_Shao 平时不常打,没几个rating
CSDN(弃用):write_1m_lines- 博客园:stanleys
- GitHub:@GoodCoder666
- 个人博客站点(内容同CSDN):https://goodcoder666.github.io/
本人擅长如下语言的Hello world程序:
C
#include <stdio.h>
int main() {
puts("Hello world!");
return 0;
}C++
#include <iostream>
using namespace std;
int main() {
cout << "Hello world!" << endl;
return 0;
}Python
print('Hello world!')Java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello world!");
}
}JavaScript
console.log('Hello world!')html(在界面上显示)
<!--DOCTYPE html-->
<html>
<body>
<p>Hello world!</p>
</body>
</html>运行如下代码,获得完整版个人介绍:
#include <cstdio>
#include <cstdlib>
#include <ctime>
using namespace std;int main(){srand(time(NULL));int
__T = 25;while(__T--)
{int a = rand() % 15, b =
rand() % 15;printf
("虽然我知道%d+%d=%d,\t但是我还\
听取WA声一片\n", a, b, a + b);
}puts("举些例子:");__T = 105;while
(__T--)
{printf("P%d WA\n", rand()
% 5241 + 1000);}return 0;}