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 814264306 at 2019-07-03 16:02:24 on Problem 1067
#include<iostream>
int main(){
	int a,b;
	while (std::cin>>a>>b){
		if (a>b)std::swap(a,b);
		a==(int)(1.618033988*(b-a))?puts("0"):puts("1");
	}
}

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