百度2017秋招笔试真题(一)

百度2017秋招笔试真题ios 1. 买帽子spa 【分析】STL set,去重后取第三小的值便可。注意输出-1的情形:set中的元素个数<3。code #include <iostream> #include <set> using namespace std; int N; int a[55]; set<int> hat; set<int>::iterator it; int main() {
相关文章
相关标签/搜索