摘要: A 整除的尾数 + 枚举一下后两位数。 代码: C++ include using namespace std; int main() { int x, y, w, n; while(scanf("%d%d%d%d", &x, &y, &w, &n) != EOF) { int res = x / 阅读全文
posted @ 2017-04-05 21:02 aiterator 阅读(230) 评论(0) 推荐(0) 编辑
摘要: Given an array of non negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maxim 阅读全文
posted @ 2017-04-05 11:50 aiterator 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example, Given the following matrix: [ [ 阅读全文
posted @ 2017-04-05 11:35 aiterator 阅读(93) 评论(0) 推荐(0) 编辑