Search found 2 matches

by hychin
Sun Nov 14, 2010 6:27 pm
Forum: FAQ
Topic: Why my program runtime cannot reach 0.000?
Replies: 1
Views: 6743

Why my program runtime cannot reach 0.000?

I have submitted a program like Hello World for problem 136, but the runtime is 0.008.

Can anybody suggest some reason for the run time of 0.008 instead of 0.000?
my code is C++ like this:
#include<iostream>
using namespace std;
int main(void){
cout << "the answer\n";
return 0;
}
by hychin
Sun Nov 14, 2010 1:11 pm
Forum: Volume 2 (200-299)
Topic: 202 - Repeating Decimals
Replies: 82
Views: 25405

Re: 202 RE...

The problem states that "None of the input integers exceeds 3000",
so, array size of 2000 is not enough but 3000 is enough.

Go to advanced search