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 astoninfer at 2015-07-17 22:32:29 on Problem 2505
#include <cstdio>
using namespace std;

int main(){
	__int64 n;
	while(~scanf("%I64d", &n)){
		__int64 A = 9;
		while(A < n)	A *= 18;
		if(A / 9 < n)	puts("Stan wins.");
		else puts("Ollie wins.");
	}
	return 0;
}

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