码迷,mamicode.com
首页 >  
搜索关键字:lines    ( 2570个结果
hdu 5971 Wrestling Match
Wrestling Match Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1031 Accepted Submission(s): 390 ...
分类:其他好文   时间:2017-05-02 10:08:16    阅读次数:168
文件操作
txt操作 写入 读取 数组存储: string[] lines = File.ReadAllLines(file, Encoding.Default); string[] lines = File.ReadAllLines(file, Encoding.Default); 文件(夹)操作:Dire ...
分类:其他好文   时间:2017-05-01 22:27:01    阅读次数:302
LeetCode11:Container With Most Water
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo ...
分类:其他好文   时间:2017-05-01 22:21:38    阅读次数:178
洛谷 P2866 [USACO06NOV]糟糕的一天Bad Hair Day
P2866 [USACO06NOV]糟糕的一天Bad Hair DaY P2866 [USACO06NOV]糟糕的一天Bad Hair DaY P2866 [USACO06NOV]糟糕的一天Bad Hair DaY 题目描述 Some of Farmer John's N cows (1 ≤ N ≤ ...
分类:其他好文   时间:2017-05-01 19:50:12    阅读次数:221
POJ 3667 Hotel 【线段树 区间合并 + Lazy-tag】
Hotel Time Limit: 3000MS Memory Limit: 65536K 链接:POJ 3667 Description The cows are journeying north to ThunderBay in Canada to gain cultural enrichmen ...
分类:其他好文   时间:2017-05-01 14:17:05    阅读次数:185
hzau 1208 Color Circle(dfs)
1208: Color Circle Description There are colorful flowers in the parterre in front of the door of college and form many beautiful patterns. Now, you w ...
分类:其他好文   时间:2017-04-30 23:07:40    阅读次数:255
文件file
Python File(文件) 方法 file 对象使用 open 函数来创建,下表列出了 file 对象常用的函数: file.close() 关闭文件。关闭后文件不能再进行读写操作。 file.flush() 刷新文件内部缓冲,直接把内部缓冲区的数据立刻写入文件, 而不是被动的等待输出缓冲区写入 ...
分类:其他好文   时间:2017-04-30 14:01:00    阅读次数:139
poj2761 feed the dog
题目链接:http://poj.org/problem?id=2761 Description Wind loves pretty dogs very much, and she has n pet dogs. So Jiajia has to feed the dogs every day for ...
分类:其他好文   时间:2017-04-29 23:29:10    阅读次数:225
LeetCode96:Unique Binary Search Trees
Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total of 5 unique BST ...
分类:其他好文   时间:2017-04-29 13:44:26    阅读次数:164
hdu2845_最大不连续子段和
恢复内容开始 Beans Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4826 Accepted Submission(s): 2258 Pr ...
分类:其他好文   时间:2017-04-29 12:59:21    阅读次数:208
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!