摘要: 得快两年前写的一个c++游戏(第二个,总共两个) 有些npc名字有些起的詪sd,看着好笑也就不改了 算法没有任何难度,就是纯模拟,当时也是无聊写了挺长时间 代码之前写的,相对于自己写的第一个游戏bug似乎少一些,自己试的机会也少一些,没发现什么能影响游戏体验的bug,如果有bug,希望各位玩家老爷原 阅读全文
posted @ 2021-07-31 18:56 上官书房 阅读(309) 评论(0) 推荐(2)
摘要: 得快两年前写的一个c++游戏(第一个,总共两个) 有些npc名字有些起的詪sd,看着好笑也就不改了 算法没有任何难度,就是纯模拟,当时也是无聊写了挺长时间 代码之前写的,存在一些bug,大体上影响游戏体验的bug都已消除,如果仍有,希望各位玩家老爷原谅 (不打算改了,逃 游戏意外和某知名游戏公司出品 阅读全文
posted @ 2021-07-31 18:42 上官书房 阅读(347) 评论(0) 推荐(1)
摘要: 啥也不说了,退役了 阅读全文
posted @ 2021-11-21 19:52 上官书房 阅读(38) 评论(0) 推荐(3)
摘要: 题目链接:https://www.luogu.com.cn/problem/P7914 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 inline ll re_ad() { 5 char ch=ge 阅读全文
posted @ 2021-10-31 15:41 上官书房 阅读(113) 评论(1) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 inline ll re_ad() { 5 char ch=getchar(); ll x=0,f=1; 6 while(ch<'0' || ch>'9 阅读全文
posted @ 2021-10-31 10:41 上官书房 阅读(43) 评论(0) 推荐(1)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=51; 5 ll n,m,fac[N]; 6 7 inline ll Calc(ll i,ll j,ll ii,ll jj) { 阅读全文
posted @ 2021-10-07 16:08 上官书房 阅读(59) 评论(0) 推荐(1)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 ll n,ans; 5 int main() 6 { 7 freopen("star.in","r",stdin); 8 freopen("star.o 阅读全文
posted @ 2021-10-06 18:31 上官书房 阅读(37) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 inline ll re_ad() { 5 char ch=getchar(); ll x=0,f=1; 6 while(ch<'0' || ch>'9 阅读全文
posted @ 2021-10-05 13:54 上官书房 阅读(41) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-10-04 23:51 上官书房 阅读(34) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 inline int re_ad() { 4 char ch=getchar(); int x=0,f=1; 5 while(ch<'0' || '9'<ch) { if(ch=='-') f=-1 阅读全文
posted @ 2021-10-04 22:02 上官书房 阅读(35) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 inline ll re_ad() { 5 char ch=getchar(); ll x=0,f=1; 6 while(ch<'0' || ch>'9 阅读全文
posted @ 2021-10-03 22:35 上官书房 阅读(48) 评论(0) 推荐(1)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=1e5+11,M=2e5+11,Tree_Sz=2e6+11; 5 ll n,xx[N][2],yy[N][2]; 6 ll nu 阅读全文
posted @ 2021-10-02 19:56 上官书房 阅读(46) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=2e5+11,M=4e5+11; 4 int n,ans,siz[N]; 5 int to[M],nxt[M],id[M],edge,head[N]; 6 7 inline 阅读全文
posted @ 2021-10-02 14:39 上官书房 阅读(31) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=1e6+11; 5 ll n,m,fa[N],l[N],r[N],seg[N],zh; 6 bool vis[N]; 7 8 in 阅读全文
posted @ 2021-09-30 13:53 上官书房 阅读(34) 评论(0) 推荐(1)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll db[11][11]={ 5 {0}, 6 {0,0}, 7 {0,-1,1}, 8 {0,-1,-2,8}, 9 {0,2,3,4, 阅读全文
posted @ 2021-09-30 12:16 上官书房 阅读(31) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const int N=2e6+11,M=61,L=(1<<13)+11,St=(1<<13); 5 int n,a[M]; 6 int tot,fr[ 阅读全文
posted @ 2021-09-30 12:08 上官书房 阅读(26) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e3+11,St=1e3,mod=1e4; 4 int dp[N][N],sum[N][N]; 5 6 inline int re_ad() { 7 char ch=get 阅读全文
posted @ 2021-09-24 23:05 上官书房 阅读(41) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e5+11,M=5e5+11; 4 int n,m,S,c[M],pri[N]; 5 inline int re_ad() { 6 char ch=getchar(); i 阅读全文
posted @ 2021-09-23 23:14 上官书房 阅读(54) 评论(0) 推荐(1)
摘要: 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e5+11,Tree_Sz=1e5+11,inf=1<<29; 4 int n; 5 6 inline int re_ad() { 7 char ch=getchar(); 阅读全文
posted @ 2021-09-22 15:24 上官书房 阅读(79) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-09-12 23:39 上官书房 阅读(31) 评论(0) 推荐(0)
摘要: 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 const ll N=1e6+11,St=1e6,mod=998244353; 5 ll T,n,A,B,dp[N]; 6 7 inline ll re 阅读全文
posted @ 2021-09-12 23:21 上官书房 阅读(42) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-09-09 18:36 上官书房 阅读(24) 评论(0) 推荐(1)