#include<iostream> using namespace std; int main(){ int t; int h,a,b,k; cin>>t; while(t--){ cin>>h>>a>>b>>k; if(a>=h){ cout<<"White win"; } else{ if(a*k>(k+1)*b){ cout<<"White win"; } else{ cout<<"Unknow"; } } } } |
Double click to view unformatted code.