This commit is contained in:
parent
3c1416eaff
commit
817eaa8a0a
|
@ -0,0 +1,3 @@
|
|||
# 标题
|
||||
|
||||
* 内容
|
|
@ -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;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,3 @@
|
|||
# 标题
|
||||
|
||||
* 内容
|
Binary file not shown.
|
@ -0,0 +1,6 @@
|
|||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello Easy C++ project!" << std::endl;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
968460
|
|
@ -0,0 +1 @@
|
|||
993859
|
|
@ -0,0 +1 @@
|
|||
10
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -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…
Reference in New Issue