Search found 5 matches

by genti
Sun Nov 12, 2006 7:42 pm
Forum: Volume 4 (400-499)
Topic: 408 - Uniform Generator
Replies: 48
Views: 9957

Thank you a lot, it worked.
by genti
Sun Nov 12, 2006 6:57 pm
Forum: Volume 4 (400-499)
Topic: 408 - Uniform Generator
Replies: 48
Views: 9957

Thank you for the answer, rio. I did the changes and posted it again but this time I got a Presentation Error. The modified code looks like this:


while(cin>>step>>mod)
{
array = createTable(step, mod);
good = goodChoice(array, mod);
if(good)
{
answer = "Good Choice";
stringl = 15 ...
by genti
Sun Nov 12, 2006 6:12 pm
Forum: Volume 4 (400-499)
Topic: 408 - Uniform Generator
Replies: 48
Views: 9957

WA and RE

Hi, I tried to post my program twice, once I got WA then after adding the delete [] array instruction to free memory I got Runtime Error. Anyone can help and tell me what's wrong with this code? I've gone through all the test cases I could find here, and my program got them right. Is there anything ...
by genti
Sat Oct 28, 2006 3:25 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 318831

I made the necessary corrections so that the output order of i and j matches the input order, but I'm still getting WA. Reading other posts hasn't helped much.
by genti
Sat Oct 28, 2006 2:27 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 318831

Problem 100 WA

Why do I get a WA from the Compiler??? I've tried it, works everything fine, the results I get from my computer coincide with those of the output example. Any help or suggestion would be highly appreciated.
Thanks

Problem solved

Go to advanced search