diff --git a/4069_baoshu/Readme.md b/4069_baoshu/Readme.md new file mode 100644 index 0000000..b4f8d75 --- /dev/null +++ b/4069_baoshu/Readme.md @@ -0,0 +1,3 @@ +# 标题 + +* 内容 \ No newline at end of file diff --git a/4069_baoshu/baoshu.cpp b/4069_baoshu/baoshu.cpp new file mode 100644 index 0000000..0d70067 --- /dev/null +++ b/4069_baoshu/baoshu.cpp @@ -0,0 +1,9 @@ +#include +using namespace std; +int main(){ + int n,a[8]={14,1,2,4,7,8,11,13}; + cin>>n; + int ans=(n-1)/8*15; + ans+=a[n%8]; + cout< + +int main() +{ + std::cout << "Hello Easy C++ project!" << std::endl; +} diff --git a/4069_baoshu/main.exe b/4069_baoshu/main.exe new file mode 100644 index 0000000..fc4df42 Binary files /dev/null and b/4069_baoshu/main.exe differ diff --git a/4069_baoshu/test/In1 (13).txt b/4069_baoshu/test/In1 (13).txt new file mode 100644 index 0000000..9f1be77 --- /dev/null +++ b/4069_baoshu/test/In1 (13).txt @@ -0,0 +1 @@ +968460 diff --git a/4069_baoshu/test/In2 (5).txt b/4069_baoshu/test/In2 (5).txt new file mode 100644 index 0000000..c8ab870 --- /dev/null +++ b/4069_baoshu/test/In2 (5).txt @@ -0,0 +1 @@ +993859 diff --git a/4069_baoshu/test/in.txt b/4069_baoshu/test/in.txt new file mode 100644 index 0000000..9a03714 --- /dev/null +++ b/4069_baoshu/test/in.txt @@ -0,0 +1 @@ +10 \ No newline at end of file diff --git a/4069_baoshu/test/in2.txt b/4069_baoshu/test/in2.txt new file mode 100644 index 0000000..f11c82a --- /dev/null +++ b/4069_baoshu/test/in2.txt @@ -0,0 +1 @@ +9 \ No newline at end of file diff --git a/4069_baoshu/test/out.txt b/4069_baoshu/test/out.txt new file mode 100644 index 0000000..6283384 --- /dev/null +++ b/4069_baoshu/test/out.txt @@ -0,0 +1,24 @@ +## z:\Chao\src\4069_baoshu\test\in.txt +2020/03/29 周日 11:30:36.12 +17 +----------------------------------------------- +Process exited after 160 ms with return value 0 + +## z:\Chao\src\4069_baoshu\test\In1 (13).txt +2020/03/29 周日 11:30:36.12 +1815862 +----------------------------------------------- +Process exited after 90 ms with return value 0 + +## z:\Chao\src\4069_baoshu\test\In2 (5).txt +2020/03/29 周日 11:30:36.12 +1863484 +----------------------------------------------- +Process exited after 90 ms with return value 0 + +## z:\Chao\src\4069_baoshu\test\in2.txt +2020/03/29 周日 11:30:36.12 +16 +----------------------------------------------- +Process exited after 90 ms with return value 0 +