No difference found
#include<iostream> using namespace std; int main() { int turn =1; long double n; while(cin>>n) { while(1) { n /= turn%2 == 1 ? 9.0 : 2.0; turn++; if(n <= 1) break; } switch(turn %2) { case 0: cout<<"Stan wins."<<endl; break; case 1: cout<<"Ollie wins."<<endl; break; } turn =1; } }