看板 C_and_CPP 關於我們 聯絡資訊
try this test case [input] 1 0 [output] 1 1 for more test cases, u can visit the link http://bleed1979.myweb.hinet.net/uvaoj/v1/107.html Hope it helps. Bleed ※ 引述《frank99977 ( )》之銘言: : 在收到多次的tle跟wa終於受不了了 : 所以來問問各位大大,不知道問題出在哪邊 -- World of bleed1979 http://bleed1979.myweb.hinet.net/ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.168.134.68 ※ 編輯: bleed1979 來自: 118.168.134.68 (04/18 22:13)
frank99977:input 1 0 照題意看來不會怪怪的嗎? 04/18 23:03
bleed1979:this means only one cat and her height is 1. 04/19 09:00
bleed1979:and 0 means there is no any little cat. 04/19 09:03
frank99977:but the question tell us that the second integer 04/19 23:54
frank99977:is the number of worker cats,right? 04/19 23:55
chchwy:不用考慮1 0的狀況 04/21 05:58