你醒來,發現自己坐在一張椅子上,面前是穿西裝的 Morpheus。
他慢慢地伸出雙手,左手是一顆紅色藥丸,右手是一顆藍色藥丸。
他說得很神秘:「選擇吧。紅色藥丸會給你真相的力量;藍色藥丸則讓你回到安穩的日常。」
你想了一秒,大喊:
「小孩子才做選擇,我全都要!!」
於是你霸氣地同時吞下兩顆藥丸,感受到能量在你體內狂奔。
請計算吞下兩顆藥丸後,總共獲得的能量值
輸入兩個整數 *r 和 *b,分別代表紅色藥丸與藍色藥丸給你的能量值。
兩個整數之間以空格隔開。
Note:
1.所有數值為正整數,且不超過 int 範圍,-1,073,741,824<=*r,*b<=1,073,741,82
請依照以下格式輸出:
You chose the red pill and gained *r energy points.
You also took the blue pill and gained *b energy points.
Kids make choices... but I take BOTH!
Total energy: *s points!
*r 是紅色藥丸的能量值、*b 是藍色藥丸的能量值、*s 是總能量
Note:
1.輸出最後必須有一個換行符號('\n')