result love(boy, girl) <T?H
H$es)
{ "iFA&$\
if( boy.有房() and boy.有车() ) C{mL]ds<
{ tHlKo0S$0
boy.set(nothing); 4 [2^#t[
return girl.嫁给(boy); R%)ZhG*
} sHC4iMIw
if( girl.愿意等() ) ?;1^8 c0
{ t?JY@hT*
while(!(boy.赚钱 > 100,000 and girl.感情 > 8 ) ) )c
vA}U.z
{ rv>K0= t0
for( day=1; day <=365; day++) )NG{iD{_]
{ %Z|]"=;6
if( day == 情人节 ) 'BY{]{SL
if( boy.givegirl(玫瑰) )
X$:r
girl.感情++; WVaIC $Y
else Sn 3@+9J
girl.感情--; b'\a
4
/">A3bq
if( day == girl.生日) -:92<G\D
if( boy.givegirl(玫瑰) ) H"hL+F ^
girl.感情++; .yp"6S^b
else 'Oyx
X
girl.感情--; Y{yN*9a79
boy.拼命赚钱(); Hd)z[6u8eT
} c5~d^
} NPjh2 AJm
if( boy.有房() and boy.有车() ) #$trC)? ~q
{ _2*Ryz
boy.set(nothing); moO=TGG;F
return girl.嫁给(boy); @Y2"=QVt
} JN;92|x
年龄++; Gt{'` P,&9
girl.感情--; mIu-
} 9y/gWE
return girl.goto( another_boy); 1]eh0H
}