From c6a123ad95388bdf3e9af39c70a29ffbde3c51c8 Mon Sep 17 00:00:00 2001 From: leo12025 Date: Thu, 31 Jul 2025 15:59:44 +0800 Subject: [PATCH] Node --- .gitignore | 0 test01/main.cpp | 22 +++++++++------------- 2 files changed, 9 insertions(+), 13 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/test01/main.cpp b/test01/main.cpp index 4db72fd..1e88f40 100644 --- a/test01/main.cpp +++ b/test01/main.cpp @@ -1,17 +1,13 @@ #include using namespace std; -int main() { - /* - 要求:编写程序,输出 1-50 之间所有能被 3 整除的数字,并统计其个数 - */ - int count = 0; - for (int i = 1; i <= 50; i++) { - if (i % 3 == 0) { - cout << i << " "; - count++; - } - } - cout << endl; - cout << count << endl; + +struct Node{ + int first; + int second; +}; + + +int main(){ + }