Currency Exchange
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 20482
Accepted: 7352
Description
Several currency exchange points are working in our city...
分类:
其他好文 时间:
2014-10-19 14:21:07
阅读次数:
245
1、获取当前可用串口端口号1 using System.IO.Ports;2 string[] portNames = SerialPort.GetPortNames();
Minimal coverage
The Problem
Given several segments of line (int the X axis) with coordinates [Li,Ri]. You are to choose the minimal amount of them, such they would completely cover the segment [0,...
分类:
其他好文 时间:
2014-10-14 23:52:09
阅读次数:
247
Disky and Sooma, two of the biggest mega minds of Bangladesh went to a far country. They ate, coded and wandered around, even in their holidays. They passed several months in this way. But everything ...
分类:
其他好文 时间:
2014-10-12 02:44:17
阅读次数:
316
bash是linux默认命令行管理程序shell,汉澳 sinox也安装有,虽然sinox并没有默认使用bash,但是用户一旦使用就会可能被通过漏洞入侵,所以必须快速修复。虽然sinox使用freebsd 的ports,但是freebsd已经升级到最新的软件管理pkg,ports正在被淘汰,要通过portsnap直接更新到最新的ports然后用pkg安装,不过最新的ports只是在freebsd1...
分类:
系统相关 时间:
2014-10-11 22:17:57
阅读次数:
337
同一主机上的OVS中可以创建多个网桥(即多个datapath实例),每个bridge可以通过patch ports互联,而netdev ports是OVS对底层物理端口的抽象封装,internal 类型的端口比较不好理解,可以看做每个OVS交换机有个可以用来处理数据报的本地端口,可以为这个网络设备配置
IP 地址(比如在把eth0加入某个bridge的时候,它的IP地址就失效了,可以把IP地址...
分类:
其他好文 时间:
2014-10-10 19:55:34
阅读次数:
366
using System;
using System.IO.Ports;
class SerialPortHelper
{
private long _receiveByteCount = 0, _sendByteOfCount = 0;
public long ReceiveByteCount { get { return _receiveByteCount; } set...
分类:
其他好文 时间:
2014-10-09 17:46:37
阅读次数:
339
1.安装openjdk7.#cd/usr/ports/java/openjdk7#makeinstallclean测试Java是否安装好#java-versionjavaversion"1.6.0_07"DiabloJava(TM)SERuntimeEnvironment(build1.6.0_07-b02)DiabloJavaHotSpot(TM)64-BitServerVM(build10.0-b23,mixedmode)2.安装tomcat6#cd/usr/ports/www/to..
分类:
其他好文 时间:
2014-09-30 03:20:52
阅读次数:
221
DescriptionDr lee cuts a string S into N pieces,s[1],…,s[N]. Now, Dr lee gives you these N sub-strings: s[1],…s[N]. There might be several possibiliti...
分类:
其他好文 时间:
2014-09-28 21:56:35
阅读次数:
243
汉澳sinox高速下载工具axel
一直用wget、浏览器单线程下载等啊等,没完没了,必须使出刹手锏。
汉澳sinox高速下载工具axel,不是exel,读作 阿克啸
安装
cd /usr/ports/ftp/axel;make install clean
然后运行axel -n 10 网址,其中-n 后面指定多线程数量。
然后就以10倍速度download,不需要安装旋风...
分类:
其他好文 时间:
2014-09-26 22:34:08
阅读次数:
263