这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《10pts求调壶关》回复:
@[ymgh](luogu://user/1632297)此贴结,关闭同步流之后printf与cout混用了,年度最招笑错误,调了两个小时
```cpp #include using namespace std; #define ll long long const int N=1e5+10; ll T; ll n,m; ll k; vector edge[N]; ll a,b,c,d; ll dist1[N]; ll dist2[N]; bool vis…
``` #include using namespace std; char s[1010]; int nex[500010][27],n,cnt; bool b[500010][27]; void insert(int x){ cin>>s+1; int l=strlen(s+1); int now=0; for(i…
```cpp #include using namespace std; const int N=105; int head[N],dfn[N],low[N]; int stk[N],ins[N],c[N]; int indegree[N]; int tot,num,top; int edge_cnt,scc_cnt;…
``` #include using namespace std; string s; int n; int sum; int a[45][45]; int dp[45][100005]; int main(){ cin>>s; cin>>n; sum=s.length(); for(int i=1;i 100000)…
```cpp #include using namespace std; const int mod=80112002; int indegree[5001],chdegree[5001]; int head[5001]; struct node{ int nxt,to; }edge[500005]; int cnt;…
```cpp #include using namespace std; int n; struct pain{ int nxt,to; }e[105]; int head[105]; int cnt=0; void add(int from,int to){ cnt++; e[cnt].nxt=head[from];…
``` #include using namespace std; int pain[105][105]; bool vis[105][105]; int m,n; int ans=1e7+7; int dx[]={1,0,-1,0}; int dy[]={0,1,0,-1}; void dfs(int sum,int…