码迷,mamicode.com
首页 >  
搜索关键字:NPU    ( 4242个结果
14.小白学python函数之5
今日内容 一、函数三元运算符 二、函数递归 三、匿名函数 四、内置函数 行程一:三元运算 )三元运算符|三目运算符 2.字典转成列变原来是在字典转成列表的情况在强转tuple 二,递归函数 案列二: 三、匿名函数: 匿名函数定义: 四、函数内置 官方网站:https://docs.python.or ...
分类:编程语言   时间:2019-04-05 18:19:25    阅读次数:164
CodeForce-955C
C. Sad powerstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou're given Q queries of the form  ...
分类:其他好文   时间:2019-04-05 18:18:44    阅读次数:499
SpringMVC中的ResponseBody和RequestBody介绍
1ResponseBody 和 RequestBody 1简介 @ResponseBody把后台pojo转换为json对象,返回到页面 @RequestBody接受前台json数据,把json数据自动封装javaBean 2案例 导包 添加json转换器 写一个jsp页面 写一个StudentCon ...
分类:编程语言   时间:2019-04-05 14:15:51    阅读次数:189
get_headers()请求https报错解决思路
get_headers()请求https报错解决思路
分类:Web程序   时间:2019-04-05 12:24:47    阅读次数:425
质数串 乱搞
一个正整数x是质数,当且仅当x≥2且x不是任何一个[2,x?1]的数的倍数。一个数字串是''质数串'',当且仅当它的每个非空连续子串表示的数字都是质数。例子1:"373"是质数串,它的子串有"3"、"37"、"373"、"7"、"73"、"3",这些串表示的数字都是质数。例子2:"55"不是质数串, ...
分类:其他好文   时间:2019-04-05 10:47:02    阅读次数:180
[leetcode]16. 3Sum Closest最接近的三数之和
Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the thr ...
分类:其他好文   时间:2019-04-05 09:13:42    阅读次数:110
迷宫问题
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 40547 Accepted: 22591 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, ...
分类:其他好文   时间:2019-04-05 00:20:28    阅读次数:180
Python+Selenium之常用模块
要用webdriver:from selenium import webdriver eg: driver = webdriver.Chrome() driver.maximize_window() driver.get("http://www.baidu.com") 要用等待:from selen ...
分类:编程语言   时间:2019-04-04 15:44:57    阅读次数:229
leetcode [80]Remove Duplicates from Sorted Array II
Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allocate extra ...
分类:其他好文   时间:2019-04-03 12:22:28    阅读次数:146
异常处理
检测文件名是否正确,然后按行读取文件,否则循环输入文件名直至正确。 ...
分类:其他好文   时间:2019-04-02 10:47:26    阅读次数:126
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!