摘要:
A.坐飞机 代码: #include <bits/stdc++.h> using namespace std; const int maxn = 1e5 + 10; int n, t; int a[maxn], b[maxn]; int p[maxn]; int main() { scanf("%d 阅读全文
posted @ 2019-05-11 17:50
_Zlrrr
阅读(609)
评论(0)
推荐(1)
摘要:
https://leetcode.com/problems/delete-duplicate-emails/ Write a SQL query to delete all duplicate email entries in a table named Person, keeping only u 阅读全文
posted @ 2019-05-11 15:24
_Zlrrr
阅读(127)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/classes-more-than-5-students/ There is a table courses with columns: student and class Please list out all classes which 阅读全文
posted @ 2019-05-11 15:22
_Zlrrr
阅读(144)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/second-highest-salary/ Write a SQL query to get the second highest salary from the Employee table. For example, given th 阅读全文
posted @ 2019-05-11 15:20
_Zlrrr
阅读(166)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/not-boring-movies/ X city opened a new cinema, many people would like to go to this cinema. The cinema also gives out a 阅读全文
posted @ 2019-05-11 15:18
_Zlrrr
阅读(157)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/swap-salary/ Given a table salary, such as the one below, that has m=male and f=female values. Swap all f and m values ( 阅读全文
posted @ 2019-05-11 15:16
_Zlrrr
阅读(144)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/customers-who-never-order/ Suppose that a website contains two tables, the Customers table and the Orderstable. Write a 阅读全文
posted @ 2019-05-11 15:15
_Zlrrr
阅读(131)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/employees-earning-more-than-their-managers/ The Employee table holds all employees including their managers. Every emplo 阅读全文
posted @ 2019-05-11 15:13
_Zlrrr
阅读(243)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/big-countries/ There is a table World A country is big if it has an area of bigger than 3 million square km or a populat 阅读全文
posted @ 2019-05-11 15:10
_Zlrrr
阅读(159)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/duplicate-emails/ Write a SQL query to find all duplicate emails in a table named Person. For example, your query should 阅读全文
posted @ 2019-05-11 15:08
_Zlrrr
阅读(134)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/combine-two-tables/ Table: Person Table: Address Write a SQL query for a report that provides the following information 阅读全文
posted @ 2019-05-11 15:07
_Zlrrr
阅读(160)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/prime-number-of-set-bits-in-binary-representation/ Given two integers L and R, find the count of numbers in the range [L 阅读全文
posted @ 2019-05-11 14:58
_Zlrrr
阅读(184)
评论(0)
推荐(0)
摘要:
https://leetcode.com/problems/partition-labels/ A string S of lowercase letters is given. We want to partition this string into as many parts as possi 阅读全文
posted @ 2019-05-11 14:56
_Zlrrr
阅读(147)
评论(0)
推荐(0)

浙公网安备 33010602011771号