报数
This commit is contained in:
parent
3c1416eaff
commit
817eaa8a0a
3
4069_baoshu/Readme.md
Normal file
3
4069_baoshu/Readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# 标题
|
||||
|
||||
* 内容
|
9
4069_baoshu/baoshu.cpp
Normal file
9
4069_baoshu/baoshu.cpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include<iostream>
|
||||
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<<ans;
|
||||
}
|
BIN
4069_baoshu/baoshu.exe
Normal file
BIN
4069_baoshu/baoshu.exe
Normal file
Binary file not shown.
3
4069_baoshu/doc/Readme.md
Normal file
3
4069_baoshu/doc/Readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# 标题
|
||||
|
||||
* 内容
|
BIN
4069_baoshu/doc/报数.pdf
Normal file
BIN
4069_baoshu/doc/报数.pdf
Normal file
Binary file not shown.
6
4069_baoshu/main.cpp
Normal file
6
4069_baoshu/main.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello Easy C++ project!" << std::endl;
|
||||
}
|
BIN
4069_baoshu/main.exe
Normal file
BIN
4069_baoshu/main.exe
Normal file
Binary file not shown.
1
4069_baoshu/test/In1 (13).txt
Normal file
1
4069_baoshu/test/In1 (13).txt
Normal file
@ -0,0 +1 @@
|
||||
968460
|
1
4069_baoshu/test/In2 (5).txt
Normal file
1
4069_baoshu/test/In2 (5).txt
Normal file
@ -0,0 +1 @@
|
||||
993859
|
1
4069_baoshu/test/in.txt
Normal file
1
4069_baoshu/test/in.txt
Normal file
@ -0,0 +1 @@
|
||||
10
|
1
4069_baoshu/test/in2.txt
Normal file
1
4069_baoshu/test/in2.txt
Normal file
@ -0,0 +1 @@
|
||||
9
|
24
4069_baoshu/test/out.txt
Normal file
24
4069_baoshu/test/out.txt
Normal file
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user