#Author:AXIN #Date:2017/5/21 17:07 #输入工资 #打印出商品号和价格 #用户根据商品号来选择商品,够就直接扣钱,不够就提醒不够,退出购买 #用户随时可以退出(按q),退出时,打印已经购买的商品和余额 salary = int(input('Please input ... ...
分类:
其他好文 时间:
2017-05-21 21:50:34
阅读次数:
187
Source: https://leetcode.com/problems/department-highest-salary/#/descriptionDescription: The Employee table holds all employees. Every employee has a ...
分类:
其他好文 时间:
2017-05-21 15:23:22
阅读次数:
164
Write a SQL query to get the second highest salary from the Employee table. For example, given the above Employee table, the query should return 200 a ...
分类:
其他好文 时间:
2017-05-21 14:54:31
阅读次数:
223
Write a SQL query to get the nth highest salary from the Employee table. For example, given the above Employee table, the nth highest salary where n = ...
分类:
其他好文 时间:
2017-05-21 14:42:32
阅读次数:
176
Given a linked list, remove the nth node from the end of list and return its head. For example, ...
分类:
其他好文 时间:
2017-05-17 17:22:17
阅读次数:
161
1:数据表 2:问题:查询各个部门的最低工资的userid号 select a.* from (select ROW_NUMBER() over(partition by dept order by salary asc) rn,userid,salary,dept from salary ) a ...
分类:
数据库 时间:
2017-05-17 14:18:02
阅读次数:
261
1、属性过滤选择器 2、子元素过滤选择器 :nth-child(index/even/odd/equation) 选取每个父元素下的第index子元素或者奇偶元素(index从1算起) :first-child 选取每个父元素下的第一个子元素 :last-chlid 选取每个父元素下的最后一个子元素 ...
分类:
Web程序 时间:
2017-05-16 16:43:13
阅读次数:
292
nth-child(n):选择器匹配属于其父元素的第 N 个子元素,不论元素的类型。n 可以是数字、关键词或公式。 ...
分类:
其他好文 时间:
2017-05-15 21:06:12
阅读次数:
127
:target伪类,用于定位元素 <a href="#xxx">点击我</a> <p id="xxx">看我看我看我</p> p:target{ color:red; } :lang :nth-child 选中一类元素 :nth-child(an+b){} 例如 li:nth-child(3n+1) ...
分类:
其他好文 时间:
2017-05-14 13:51:23
阅读次数:
246
文件说明: user_lock:保存已被锁定用户账号信息 salary:保存用户的余额 功能测试账号:ylw 密码:ylwa zhangchao属于黑名单的 功能需求: 1、启动程序后,输入用户名密码后,如果是用户名输入正确则密码输入错误三次锁定账户, 如果用户名输入不正确提示输入正确用户名。 2、 ...
分类:
其他好文 时间:
2017-05-13 11:10:54
阅读次数:
146