- 博客(4)
- 资源 (15)
- 收藏
- 关注
原创 ACM TIMUS 1001 Reverse root
using System;using System.Threading;using System.Globalization;using System.Text.RegularExpressions;class Program{ static void Main() { Thread.CurrentThread.CurrentCulture = CultureInfo.Invariant
2008-06-07 00:16:00
955
原创 ACM Timus 1000 A+B Problem
public static void A_plus_B_Problem_1000(){ String[] numbers = Console.ReadLine().Split( ); Console.WriteLine(int.Parse(numbers[0]) + int.Parse(numbers[1]));}
2008-05-27 23:32:00
871
转载 Start with ... Connect By 子句递归查询
Start with ... Connect By 子句递归查询一般用于一个表维护树形结构的应用。 例如: 创建示例表:CREATE TABLE TBL_TEST( ID NUMBER, NAME VARCHAR2(100 BYTE), PID NUMBER DEFAULT 0);
2007-10-16 17:27:00
1131
原创 不使用第三变量交换两个数值型数据
1. 适合于各种编程语言: void swap(int &a, int &b) { a = a + b; b = a - b; a = a - b; } or void swap(int &a, int &b) { a ^= b; b ^= a; a ^= b; }2. 适合于 C#: void
2007-10-07 14:59:00
694
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人