From 3e54fd98ef3a4311139b3083c1deb95ef0f18b9e Mon Sep 17 00:00:00 2001 From: flykhan Date: Wed, 22 Mar 2023 23:13:22 +0800 Subject: [PATCH] update .gitignore --- .gitignore | 2 ++ 第一讲 变量、输入输出、表达式与顺序语句/1.cpp | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 .gitignore create mode 100644 第一讲 变量、输入输出、表达式与顺序语句/1.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dbcb217 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +**/*.exe +**/gmon.out \ No newline at end of file diff --git a/第一讲 变量、输入输出、表达式与顺序语句/1.cpp b/第一讲 变量、输入输出、表达式与顺序语句/1.cpp new file mode 100644 index 0000000..2bdb4dd --- /dev/null +++ b/第一讲 变量、输入输出、表达式与顺序语句/1.cpp @@ -0,0 +1,12 @@ +#include + +using namespace std; + +int main() { + int a, b; + cin >> a >> b; + + cout<< a + b << endl; + + return 0; +} \ No newline at end of file