题目描述N cities are connected by a network of M
one-way roads. It is known that these roads do not cross outside the cities. The
numeration of the cities...
分类:
其他好文 时间:
2014-05-12 01:13:06
阅读次数:
345
CFLAGS=-Wall -g 这个-Wall开头字母一定要大写。这种小错误会导致不能编译!
其次就是在一个目录下面的应该是文件 ,而不能在继续用文件去进行编写代码,因为make寻找当前目录下的makefile,makefile里面用到的文件而不是目录里的代码,如果需要也要通过-l(l链接link)一下。所以再一个目录下,编写文件尽量用vi命令,而不是mkdir。这两个区别要搞清楚。...
分类:
其他好文 时间:
2014-05-11 14:32:06
阅读次数:
361
问题:昨天莫名其妙Xcode自动升级,然后今天运行之前工程的时候,就莫名其妙的报错了。报错内容:clang: error: unknown argument: '-websockets'解决办法:building setting ->other link flgs里把'-websockets删掉...
分类:
移动开发 时间:
2014-05-11 13:09:00
阅读次数:
471
这三个命令的用途都是启动网络接口,不过,ifup与ifdown仅能就/etc/sysconfig/network-scripts内的ifcfg-ethX(X为数字)进行启动或关闭的操作,并不能直接修改网络参数,除非手动调整ifcfg-ethX文件才行。至于ifconfig则可以直接手动为某个接口配置IP或调整其网络参数。
1、ifconfig
ifconfig主要是可以手动启动、查看与修改网络...
分类:
其他好文 时间:
2014-05-11 03:35:12
阅读次数:
330
一、通过命令查看,也就是在上一篇文章中介绍的一个命令:ifconfig
示例一:
[root@desktop40 ~]# ifconfig
br0 Link encap:Ethernet HWaddr 00:0C:29:4E:5B:F2
inet addr:192.168.1.131 Bcast:192.168.1.255 Mask:255.255...
分类:
其他好文 时间:
2014-05-11 02:33:47
阅读次数:
459
server:CentOS5.8 ip:172.16.8.11
Gateway:172.16.8.1ip:10.120.6.78 Gateway:10.120.6.1网卡配置:eth0
point:[root@localhost ~]# cat /etc/sysconfig/network-scri...
分类:
系统相关 时间:
2014-05-10 06:50:23
阅读次数:
536
Command Network Time Limit: 1000MSMemory Limit:
131072K Total Submissions: 11970Accepted: 3482 Description After a long lasting
war on words, a war on...
分类:
Web程序 时间:
2014-05-10 05:27:44
阅读次数:
475
Pat1076代码
题目描述:
Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is formed with foll...
分类:
其他好文 时间:
2014-05-10 04:50:24
阅读次数:
403
linux权限及ntfs文件系统权限的知识
文件的权限:
[-dcbps][u:rwx][g:rwx][a:rwx]
其中: r=4, w=2, x=1, u=owner, g=group, a=all user
d=dir, -=file, l=symbolic link, p=pipe,
c=character device...
分类:
系统相关 时间:
2014-05-10 04:41:09
阅读次数:
511
一基本概念
该类恰是上文介绍的DatagramSocket的子类。
DatagramSocket只允许数据报发送给指定的目标地址,而MulticastSocket可以将数据报以广播的方式发送到多个客户端
若要使用多点广播,则需要让一个数据报标有一组目标主机地址,当数据报发出后,整个组的所有所有主机都能收到该数据报。IP多点广播(或多点发送)实现了将单一信息发送到多个接受者的...
分类:
编程语言 时间:
2014-05-10 03:46:16
阅读次数:
341