Search found 1 match

by tuner
Sun Apr 24, 2011 6:55 pm
Forum: Volume 1 (100-199)
Topic: 160 - Factors and Factorials
Replies: 205
Views: 45535

160 - Factors and Factorials (WA)

my code below
i still cannot find where get wrong
anyone can help me or give me some tips
or some key test case
point what's wrong with my code
THX

#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;

int main ()
{
int n;
while ( cin >> n )
{
if ( n == 0 ) return 0 ...

Go to advanced search