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

Re:还有一个问题,两个字符型变量能直接比较吗?还是得ord之后?

Posted by 00448264 at 2005-09-12 08:51:58
In Reply To:还有一个问题,两个字符型变量能直接比较吗?还是得ord之后? Posted by:kicc at 2005-09-12 08:44:44
program p1000;
var a,b:integer;
c,d:char;
begin
c:='a';
d:='b';
read(a,b);
if c<d then write(a+b);
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