1. [代码]CircleTextDemo.java import java.awt.*;import java.awt.event.*;import java.awt.geom.*;/*** A demo class that illustrates drawing text* along th....
分类:
编程语言 时间:
2014-08-06 22:04:12
阅读次数:
347
Html 代码: 未知的性别 男 女 未说明的性别 JS代码 //设置性别为单选 $("input[name='SEX']:checkbox").click(function () { var flag = $(this).is(':checked'); if (flag) { $(th...
分类:
其他好文 时间:
2014-08-06 17:42:21
阅读次数:
278
Problem DescriptionToday is Ignatius' birthday. He invites a lot of friends. Now it's dinner time. Ignatius wants to know how many tables he needs at ...
分类:
其他好文 时间:
2014-08-06 17:36:21
阅读次数:
251
UVA 1566 - John
题目链接
题意:给定n堆糖果,每次取一堆任意个数,取到最后一个的输
思路:anti-Nim,推导出来就是如果全为1,判断1的奇偶,如果不为1,就和Nim问题是一样的,判断异或和
代码:
#include
#include
int t, n;
bool solve() {
scanf("%d", &n);
int ...
分类:
其他好文 时间:
2014-08-06 14:54:51
阅读次数:
394
Balanced LineupTime Limit:5000MSMemory Limit:65536KTotal Submissions:34140Accepted:16044Case Time Limit:2000MSDescriptionFor the daily milking, Farmer...
分类:
其他好文 时间:
2014-08-06 14:30:41
阅读次数:
218
(1) 重启后永久性生效:开启: systemctl enable iptables.service'.ln -s '/usr/lib/systemd/system/iptables.service' '/etc/systemd/system/basic.target.wants/iptables....
分类:
系统相关 时间:
2014-08-06 08:23:21
阅读次数:
863
D - Cow Ski Area
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Farmer John's cousin, Farmer Ron, who lives in the mountains o...
分类:
其他好文 时间:
2014-08-05 19:36:20
阅读次数:
376
转载请注明出处,部分内容类源于网络。
终端属性详解及设置
属性
为了控制终端正常工作,终端的属性包括输入属性、输出属性、控制属性、本地属性、线路规程属性以及控制字符。
其在系统源代码的termios.h中定义(具体的说明文档http://pubs.opengroup.org/onlinepubs/7908799/xsh/termios.h.html),其结构体成员主要是
Th...
分类:
系统相关 时间:
2014-08-05 19:29:40
阅读次数:
587
/*F - 二分Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionFarmer John is an astounding accounting wiz...
分类:
其他好文 时间:
2014-08-05 19:07:09
阅读次数:
176
Given a two-dimensional array of positive and negative integers, a sub-rectangle is any contiguous sub-array of size 1*1 or greater located within th....
分类:
其他好文 时间:
2014-08-05 13:38:49
阅读次数:
218