码迷,mamicode.com
首页 >  
搜索关键字:hdoj color the ball    ( 182953个结果
python 异常获取方法
import sys #第1:print(6/0) #直接运行该命令,出现异常,程序终止 #异常提示: '''Traceback (most recent call last): File "F:/file2.py", line 2, in <module> print(6/0) ZeroDivis ...
分类:编程语言   时间:2021-01-06 12:10:07    阅读次数:0
按钮点击切换
点击按钮样式切换 <!DOCTYPE html> <html lang="ch-zn"> <head> <meta charset="UTF-8"> <link rel="" href=""> <meta name="viewport" content="width=device-width, in ...
分类:其他好文   时间:2021-01-06 11:53:39    阅读次数:0
Leetcode101.对称二叉树
题目 1 class Solution { 2 public: 3 4 bool isSymmetric(TreeNode* root) { 5 return check(root,root); 6 } 7 bool check(TreeNode* p,TreeNode* q) { 8 if(!p ...
分类:其他好文   时间:2021-01-05 11:37:37    阅读次数:0
22. Generate Parentheses
问题: 给定一个计量括号数量的数字n,求所有的括号组合可能序列。 Example 1: Input: n = 3 Output: ["((()))","(()())","(())()","()(())","()()()"] Example 2: Input: n = 1 Output: ["()"] ...
分类:其他好文   时间:2021-01-05 11:32:45    阅读次数:0
python中while循环
1、 >>> a = "" >>> while a != "quit": a = input("please input a str or 'quit' to leave: ") print(a) please input a str or 'quit' to leave: 100 100 plea ...
分类:编程语言   时间:2021-01-05 11:31:35    阅读次数:0
【leetcode】306. 累加数
bool isAdditiveNumber(char * num){ int i, j, k, len=strlen(num), pst1=0, pst2=0, bit=0, third; char* tmp1=(char*)calloc(22,sizeof(char)); char* tmp2=( ...
分类:其他好文   时间:2021-01-05 11:20:52    阅读次数:0
删除排序数组中的重复项
给定一个排序数组,你需要在 原地 删除重复出现的元素,使得每个元素只出现一次,返回移除后数组的新长度。 不要使用额外的数组空间,你必须在 原地 修改输入数组 并在使用 O(1) 额外空间的条件下完成。 示例 1: 给定数组 nums = [1,1,2], 函数应该返回新的长度 2, 并且原数组 nu ...
分类:编程语言   时间:2021-01-05 11:09:49    阅读次数:0
IfcFillAreaStyleTiles
IfcFillAreaStyleTiles通过称为平铺的已设置样式的二维几何图形的循环模式来定义IfcAnnotationFillArea的填充。递归模式由两个向量决定,这两个向量以规则形式乘以平铺。 这两个向量作为一个二维重复因子,用于确定瓷砖的八个新位置。 注:根据ISO 10303-46的定义 ...
分类:其他好文   时间:2021-01-05 10:46:06    阅读次数:0
LeetCode 077. 组合 dfs
地址 https://leetcode-cn.com/problems/combinations/ 给定两个整数 n 和 k,返回 1 ... n 中所有可能的 k 个数的组合。 示例: 输入: n = 4, k = 2 输出: [ [2,4], [3,4], [2,3], [1,2], [1,3] ...
分类:其他好文   时间:2021-01-05 10:38:45    阅读次数:0
VUE项目编译后刷新404
在nginx配置中添加 location / { try_files $uri $uri/ @router; index index.html; } location @router { rewrite ^.*$ /index.html last; } ...
分类:其他好文   时间:2021-01-04 11:32:56    阅读次数:0
182953条   上一页 1 ... 73 74 75 76 77 ... 18296 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!