作者deepking (wnuiayldh)
看板C_and_CPP
標題[ACM ] 10696
時間Mon Jan 25 18:21:31 2010
題號:10696
http://uva.onlinejudge.org/external/106/10696.html
* If N ≦ 100, then f91(N) = f91(f91(N+11));
* If N ≧ 101, then f91(N) = N-10.
遇到的問題: f(91) 為什麼 output是 91
補充說明:
91<=100 , 91+11=102
102>=101 , 102-10=92
過程不是這樣阿?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.117.180.12
→ tw00088437:f(91)=f(92)=f(93)=...f(101)=91 01/25 18:38
→ deepking:呆了我-.-... 01/25 19:30
→ deepking:少看一層f91= =|||... 01/25 19:31