// Playground - noun: a place where people can play import UIKit var age=100 //假设年龄不大于50的就会在这里断言,和之前的OC一样的 assert(age>50,"age must >50") //能够用a..b标识a到 ...
分类:
编程语言 时间:
2017-05-28 11:02:19
阅读次数:
164
Given a binary tree, flatten it to a linked list in-place. For example, Given 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 \ 2 \ 3 \ 4 ...
分类:
其他好文 时间:
2017-05-26 12:00:08
阅读次数:
168
2017年5月16日 23:35 李开复 1997年研发 1. .net/dotnet 平台:框架,生产C#软件 C#(sharp) 2002.06.22 发布 2.Java ·Any time and on any place and on any device ·乔布斯 ·Windows pho ...
分类:
其他好文 时间:
2017-05-23 22:36:04
阅读次数:
301
Robert is a famous engineer. One day he was given a task by his boss. The background of the task was the following: Given a map consisting of square b ...
分类:
其他好文 时间:
2017-05-22 15:12:21
阅读次数:
183
// display-flex: container: flex-flow:flex-direction || flex-wrap' justify-content // main axis place method - 5 values : flex-start|flex-end|center|s... ...
分类:
Web程序 时间:
2017-05-22 11:06:23
阅读次数:
232
#include #include #include #include #include using namespace std; int main() { int T, m; cin >> T; while(T--) { map >mp; string place, name; int num; ... ...
分类:
其他好文 时间:
2017-05-22 00:18:55
阅读次数:
221
原题 Given a binary tree, flatten it to a linked list in-place. For example,Given The flattened tree should look like: Hints: If you notice carefully in ...
分类:
其他好文 时间:
2017-05-17 17:26:45
阅读次数:
117
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space fo ...
分类:
其他好文 时间:
2017-05-17 14:14:33
阅读次数:
179
Problem Given a 2D grid, each cell is either a wall 2, an house 1 or empty 0 (the number zero, one, two), find the place to build a post office, the d ...
分类:
其他好文 时间:
2017-05-15 09:48:26
阅读次数:
296
今天写答疑系统的时候,写了这样一截代码: <?php session_start(); $db=mysqli_connect('localhost','root','root','qa'); $tname=$_POST['teacher']; $q="select schedule,place fr ...
分类:
数据库 时间:
2017-05-13 17:04:00
阅读次数:
246