vj1311 单词接龙

Vj1311 单词接龙

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
//±ÉÈ˵ķ½·¨ //dfs //×¢Òâ¿´ÇåÌâÒâ ÏàÁÚÁ½²¿·Ö²»ÄÜ°üº¬µÄÒâ˼¾ÍÊÇÖصþ²¿·Ö²»ÄÜΪÏàÁÚÁ½¸öµ¥´Ê / const maxn=20; var n,ans:integer; start:char; s:array[0. .maxn] of string; v:array[0. .maxn] of integer; function min(x,y:integer):integer; begin if x<=y then exit(x) else exit(y); end; procedure init; var i:integer; begin readln(n); for i:=1 to n do readln(s[i]); readln(start); end; procedure dfs(st:string); var i,j,l,t:integer; pre:string;
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/21/2011 for the course CS 001 taught by Professor 001 during the Spring '11 term at Shandong University.

Page1 / 2

Vj1311 &aring;•&egrave;&macr;&aelig;Ž&yen;&eacute;&frac34;™

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online