Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

WA的厉害!下面是代码

Posted by y_h at 2006-10-15 12:46:33 on Problem 2039
Program Lx;
Var
  n, m: Longint;
  a: Array[0..200, 0..200] Of Char;
  i, j: Longint;
Begin
  Readln(n);
  While (n <> 0) Do Begin
    m := 0;
    While Not(Eoln) Do Begin
      Inc(m);
      For i:=1 To n Do Read(a[m, i]); 
    End;
    For i:=1 To n Do
      For j:=1 To m Do Write(a[j, i]); 
    Writeln;
    Readln;
    Readln(n);
  End;
End. 

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator