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