acm-uva-10474-Where is the Marble

上傳作業:http://203.68.236.9/problem/b0006

出處http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1415

解題策略

排序數字 ,排序後找出某個數字第一個發現的位置

sort + lower_bound

參考程式碼1

參考程式碼2,使用lower_bound改寫