🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #21985

Re: ��һ���㷨(ת��)

#21985
From: fool
Date: Mon, 03 Nov 2003 02:32
18 lines
1431 bytes
Ŷ������˵�ˣ��Ӵ�����һ������ģ�����bacde��bcdҲ���Ӵ������������û�п���
�ظ������


�� �� Jiangtou (��ͷ) �Ĵ������ᵽ: ��
: ��Լ��ˣ�
: 
: private void printAllSubString(String s) {
:     for (int i = 0; i < s.length(); i++) {
:         for (int j = i + 1; j <= s.length(); j++) {
:             System.out.println(s.substring(i, j));//��ӡ�����Ӵ�
:         }
:     }
: }
: 
: .................������ʡ�ԣ�
--
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 211.80.58.129]
Technical Details
Message-ID: <497QLL$AeU@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,8986d956d359fdab
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-11-02 18:31:31 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: tutufool.bbs@bbs.sjtu.edu.cn (fool)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ��һ���㷨(ת��)
Date: 03 Nov 2003 02:32:55 GMT
Organization: ��ˮ˼Դ
Message-ID: <497QLL$AeU@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1067826693.A
Lines: 18