码迷,mamicode.com
首页 > 2021年03月09日 > 全部分享
Leetcode: 1424. Diagonal Traverse II
Description 题目见 https://leetcode.com/problems/diagonal-traverse-ii/ code 这是考验智商的题目~~ 我的代码 import bisect class Solution(object): def findDiagonalOrder( ...
分类:其他好文   时间:2021-03-09 12:53:59    阅读次数:0
13-
1-求 1000 以内所有质数的和 var f = false;var i = 2;var j = 2;var n = 0;while (i < 1000) {f = true;while (j <= i/2){if (i % j == 0){f = false;break;}j++;} if (f ...
分类:其他好文   时间:2021-03-09 12:53:40    阅读次数:0
206条   上一页 1 ... 10 11 12 13
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!