题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5233 题意:有n颗树,第 i 棵树的高度为 h[i],树上有鸟,现在这个人要打m次枪,每次打的高度是 q[i], 求每次 打枪能打下鸟的编号,否则输出-1 ; STL中的map和vector: #inc Read More
posted @ 2016-03-06 20:53 西瓜不懂柠檬的酸 Views(118) Comments(0) Diggs(0)
levels of contents