Search found 1 match

by vinicius_jssouza
Sat Dec 06, 2008 4:43 am
Forum: Volume 8 (800-899)
Topic: 847 - A Multiplication Game
Replies: 41
Views: 20106

Re: 847 - A Multiplication Game

Please, anybody tell me what's wrong with my approach? #include<iostream> #define stan true #define ollie false using namespace std; int main() { long long n; while (!feof(stdin) && cin >> n) { bool jogada = stan; long long p = 1; if (n <= 9) { cout << "Stan wins.\n"; continue; } for (; true; jogada...

Go to advanced search