摘要:
p1219 #include <stdio.h> #include <string.h> #include <stdlib.h> int n; int a[100]; int visited[3][100]; int count=0; void dfs(int step){ int i,j; if( 阅读全文
摘要:
P1101 #include<stdio.h> #include<string.h> char a[110][110]; int b[110][110]; char c[7]={'y','i','z','h','o','n','g'}; int n; int dx[]={0,0,1,-1,1,1,- 阅读全文
摘要:
P1331 #include<bits/stdc++.h> using namespace std; char ch[1001][1001]; int n,m,s; int dx[5]={0,1,-1,0,0}; int dy[5]={0,0,0,1,-1}; int maxx,minx,maxy, 阅读全文
摘要:
P1996 #include<stdio.h> #include<stdlib.h> struct people { int num; struct people *next; }; int main() { struct people *head,*t,*s,*p; head=(struct pe 阅读全文