Search found 6 matches

by ddddcccc30
Wed Nov 28, 2007 2:26 pm
Forum: Volume 4 (400-499)
Topic: 488 - Triangle Wave
Replies: 270
Views: 64507

Can anyone tell me why I get a Time limit exceeded? :cry:
Thanks.
#include<iostream>
using namespace std;
int main( int argc, char * argv[] )
{ int use[10]={0,1,22,333,4444,55555,666666,7777777,88888888,999999999};
long i , j , k ,l;
long n , a , f ;
cin >> n ;
for(i=0;i<n;i++) {
cin >> a ...
by ddddcccc30
Wed Oct 10, 2007 4:43 am
Forum: Volume 100 (10000-10099)
Topic: 10026 - Shoemaker's Problem
Replies: 82
Views: 46973

Thank you so much~

Overflow...

Anyway, thank you. I finally got Accepted.
by ddddcccc30
Tue Oct 09, 2007 2:06 pm
Forum: Volume 100 (10000-10099)
Topic: 10026 - Shoemaker's Problem
Replies: 82
Views: 46973

I am sorry to trouble you a lot.

But I still get W.A. :evil:

I am now wondering if my answer is really wrong.

Code: Select all

. . .
by ddddcccc30
Tue Oct 09, 2007 6:59 am
Forum: Volume 100 (10000-10099)
Topic: 10026 - Shoemaker's Problem
Replies: 82
Views: 46973

I am sorry, I don't completely understand your second point.(I know that's what the problem says.)

But I changed my code, I hope I guess right.

Code: Select all

. . . 
by ddddcccc30
Mon Oct 08, 2007 4:50 pm
Forum: Volume 100 (10000-10099)
Topic: 10026 - Shoemaker's Problem
Replies: 82
Views: 46973

Thank you so much!

If my thinking is approximately right ,you can just give me some examples that my program would return wrong answers.

I think I could try to find the mistakes by myself.

Code: Select all

...
(Sorry,I am not good at speaking or writing English...)
by ddddcccc30
Sun Oct 07, 2007 4:42 am
Forum: Volume 100 (10000-10099)
Topic: 10026 - Shoemaker's Problem
Replies: 82
Views: 46973

I have tried the test datas , ans I had right answers.
But I don't know whyI still have W.A.
Should I post my code?

Go to advanced search