Description 求几个圆交起来的周长..\(n\leqslant 10^3\) Solution 计算几何. 圆圆求交.. Code ...
分类:
其他好文 时间:
2017-04-17 09:23:16
阅读次数:
216
1, 非递归方式 List* ListRevert(List* list){ List* head = NULL; //new list head List* temp = NULL; while (list!= NULL){ //each time pick up a node from the ...
分类:
其他好文 时间:
2017-04-17 00:23:16
阅读次数:
149
很多时候,我们需要对编写的程序进行打包,这个时候,我们可以借助一些项目构建工具,如maven, sbt, ant等,这里我使用的是maven。 打包成可执行有主类的jar包(jar包中无依赖) 以下是配置打包成可执行,带主类的jar包: But, 虽然现在把程序打包成了jar文件,也可以运行,但是, ...
分类:
编程语言 时间:
2017-04-16 21:10:55
阅读次数:
244
反思: 我去确实很菜啊,写不动数据结构,写不动trick题,脑子转不动。 可能一直在写专题,都是不需要思考用什么方法的题目,所以都没有经过太多的思考。就像今天的DIV2.实话真的简单,但是我只有一题1A,其中B题没读到题目细节,还有D题没想到DP去做,而是直接写模拟了。唉,说多了都是泪,加油训练吧 ...
分类:
其他好文 时间:
2017-04-16 19:07:36
阅读次数:
204
json是常见的数据格式,生成和解析是常用的操作。Android中,默认提供orgJson供我们使用,除此之外,google也提供了Gson库方便我们开发。 Json样例类 测试Activity类 样例中,成功创建了json字符串,并实现了解析。 ...
分类:
Web程序 时间:
2017-04-16 17:37:48
阅读次数:
242
一直是在电脑上面看CSDN的博客、资讯,今天做了个小软件在手机上面查看资讯和博客。 直接上代码: 一、首先是欢迎界面 -- LoadingActivity.java package com.example.webviewtest; import android.app.Activity; impor ...
分类:
移动开发 时间:
2017-04-16 17:12:40
阅读次数:
237
# php artisan make:migration create_table_cars --create=cars # php a'r'tisan migrate 出现此状况: 解决方案: 直接编辑:/Applications/MAMP/htdocs/lu/vendor/laravel/lum ...
分类:
其他好文 时间:
2017-04-16 15:43:06
阅读次数:
193
public class CommUtils { private static Toast toast = null; public static void showToast(int text) { if (toast == null) { toast = Toast.makeText(NetAp ...
分类:
其他好文 时间:
2017-04-16 13:03:03
阅读次数:
134
The cows of Farmer Brown and Farmer John are planning a coordinated escape from their respective farms and have devised a method of encryption to prot ...
分类:
其他好文 时间:
2017-04-16 12:08:58
阅读次数:
227
题目: Given four lists A, B, C, D of integer values, compute how many tuples (i, j, k, l) there are such that A[i] + B[j] + C[k] + D[l] is zero. To make ...
分类:
其他好文 时间:
2017-04-15 22:25:17
阅读次数:
264