vj1106 侦探推理

Vj1106 侦探推理

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

View Full Document Right Arrow Icon
//±ÉÈ˵ķ½·¨ //ö¾Ù //ö¾Ù×ï·¸ºÍÐÇÆÚ //Éè l , r ·Ö±ðΪ ¿ÉÄÜ˵»ÑÕß µÄϽçºÍÉÏ½ç ³õʼ l=0 r=m //¶ÔËùÓзûºÏÌâÒâµÄ Âß¼Ö¤ÑÔ ½øÐÐÅжÏÕæ¼Ù ¶Ô l ºÍ r ½øÐмӼõ Ö //Âß¼Ö¤ÑÔÖ»ÄܳöÏÖͼ±í¸ø¶¨¹Ø¼ü×Ö ÓжàÓà»òȱÉÙ×Ö·û¾ù²»Ëã Ö //witness[i] ±íʾ֤ÑÔÊôÐÔ ÆäÖУº //a ±íʾ·¢ÑÔÕß±àºÅ //b ±íʾ֤ÑÔÌá¼°µÄ¶ÔÏó±àºÅ //c ±íʾ֤ÑÔÀàÐÍ£ºÊÇ/²»ÊÇ/ÐÇÆÚ / const maxn=20; maxp=100; day:array[1. .7] of string[10]=('Monday.','Tuesday.','Wednesday.','Thursday.','Friday.','Saturday.','Su nday.'); (* ÒòΪÊÇÖ±½Ó¿´ºóÃæµÄ×Ö·û´® ËùÒÔÐÇÆÚºóÃæ×¢ÒâÓÐ'.' *) type node=record a,b,c:integer; end; var m,n,p,tot,ai,bi,ci,g,d,guilty:integer; name:array[0. .maxn] of string; hon:array[0. .maxn] of integer; mark:array[0. .maxn] of boolean; witness:array[0. .maxp] of node; find:boolean;
Background image of page 1

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

View Full DocumentRight Arrow Icon
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 / 3

Vj1106 侦探推理

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