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

各位高手帮忙看看哪里错?我自己试过没问题的啊~~

Posted by jacky2008051066 at 2009-02-20 12:23:28 on Problem 2348
#include<stdio.h>
int main()
{
int x,y,i=0,t;
scanf("%d%d",&x,&y);
if(x==0&&y==0) return 0;
else
{
if(x<y) {t=x;x=y;y=t;}
while(x<2*y)
{
x=x-y;
t=x;x=y;y=t;
i++;
}
if(i%2==0) printf("Stan wins\n");
else printf("Ollie wins\n");
}
return 0;
}
它说是wrong answer

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