摘要:
写了个处理Excle的代码,输入路径名字和关键字。表明和列数写死了。 本来还有可以封装一下,为了效率鸽了。 import osimport xlrd,sys#FilePath=input("intput filepath :")# input the searching string and col 阅读全文
摘要:
给定一个包含 m x n 个元素的矩阵(m 行, n 列),请按照顺时针螺旋顺序,返回矩阵中的所有元素。 示例 1: 思路:愉快的旋转吧,硬着头皮来,一行一行地转动。 class Solution {public: vector<int> spiralOrder(vector<vector<int> 阅读全文
摘要:
Implement pow(x, n), which calculates x raised to the power n (xn). Example 1: Input: 2.00000, 10 Output: 1024.00000 Example 2: Input: 2.10000, 3 Outp 阅读全文