vj1285 佳佳的魔法药

Vj1285 佳佳的魔法药

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

View Full Document Right Arrow Icon
//±ÉÈ˵ķ½·¨ //dijkstraʽ DP //ÒòΪҩˮ»¥ÏàÅä¿ÉÄܳöÏÖ»· µ«ÊÛ¼Ù×îСµÄÒ©Ë®¶¨²»ÄÜÓÉÆäËüÒ©Ë®Åä³ö¸üС·ÑÓà //ËùÒÔÿ´ÎÕÒÒ»¸öµ±Ç°×îС´ú¼ÛÒ©Ë® È»ºóÓÃËüÅäÆäËüÒ©Ë® / //±ÉÈ˵ÄÎÊÌâ //×¢ÒâÅäÒ©Ë® A+B=C ¼ÙÉèÏÖÔÚÕÒµÄ×îС´ú¼ÛÒ©Ë®ÊÇ A ÄÇôÎÒÃDZØÐëÈà B Ò²·ÃÎʹý²ÅÅä C //ÒòΪËäÈ» A Êǵ±Ç°×îС´ú¼Û //µ« B Ò²¿ÉÄÜºÍ A ÏàµÈ ÕâʱºòËɳÚÁË C Ò©Ë®(²¢ÇÒÉèÕâ¾ÍÊÇCµÄ×îС´ú¼Û ²»Äܱ»ÆäËû¸üÐÂ) µ±ÓÖÕÒµ½×îСҩˮ B µÄʱºò ÔÙÓà A+B=C ¾Í¸ø C ¶àÀÛ¼ÓÁË //Èç¹ûÎÒÃDzÉÓà A B ÕâÁ½ÖÖ·½°¸Ê¹ÓùýÒÔºó¾Í²»ÔÙʹÓÃËüÒ²ÓÐÎÊÌâ ÒòΪ²»Äܱ£Ö¤ B Òѵõ½×îС·½°¸ ËùÒÔÕâ´Î¸üв»ÊÇ×îÓÅ µÄ Ò //Óл·µÄDP¿ÉÒÔ´Ó²»Äܱ»¸üеÄ״̬¿¼ÂÇ
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

Vj1285 佳佳的魔法药

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