摘要:
// 【1, 2, 3, 4, 5】 -> [4, 5, 1, 2, 3] 查找某个元素,返回下标 int findNum(vector<int> &array, int target){ int left = 0; int right = array.size() - 1; while(left 阅读全文
posted @ 2020-08-28 20:48
威威后花园
阅读(286)
评论(0)
推荐(0)
摘要:
map阶段 # -*- coding: utf-8 -*- import sys for line in sys.stdin: line = line.strip() words = line.split() for word in words: print("%s\t%s" % (word, 1) 阅读全文
posted @ 2020-08-28 16:30
威威后花园
阅读(270)
评论(0)
推荐(0)

浙公网安备 33010602011771号