Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
类似于求多变量不等式的解范围#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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator