Search found 147 matches

by bugzpodder
Fri Sep 26, 2003 3:01 pm
Forum: Volume 1 (100-199)
Topic: 127 - "Accordian" Patience
Replies: 83
Views: 9942

cin: Wrong Answer 0:01.072 C++ 127 - ``Accordian'' Patience
gets: Wrong Answer 0:00.291 C++ 127 - ``Accordian'' Patience

this time, i commented out the line v=v_init (list assignment) as well as simulation and it boosted the time by almost 8 seconds!! I didnt know STL lists would be THAT slow!
by bugzpodder
Fri Sep 26, 2003 3:00 am
Forum: Volume 1 (100-199)
Topic: 127 - "Accordian" Patience
Replies: 83
Views: 9942

[Resolved] 127 - Accordian Patience (TLE)

My input takes about 7.993 seconds (by commenting out the simulation) I used gets/cout (printf takes about .5 seconds longer) with simulation i figure it takes about 18s (using STL stacks+lists) How on earth does the top ppl get 0.504 time! can anyone give me hints on improving speed - all i need is...
by bugzpodder
Fri Sep 26, 2003 12:08 am
Forum: Other words
Topic: AC after 10s
Replies: 6
Views: 1555

AC after 10s

why in the ranklists i can see ppl getting accepted with programs than ran for 30s or more? isnt 10s and its automatically TLE?
by bugzpodder
Tue Sep 23, 2003 12:54 am
Forum: Volume 103 (10300-10399)
Topic: 10310 - Dog and Gopher
Replies: 47
Views: 17647

Thanks to Vassili I have fixed a precision error while reading the data.
by bugzpodder
Tue Sep 23, 2003 12:01 am
Forum: Algorithms
Topic: bridge in Ultimate convex hull
Replies: 2
Views: 1789

what is the "ultimate" convex hull?
by bugzpodder
Mon Sep 22, 2003 3:55 am
Forum: Other words
Topic: acm.uva.es/archive submissions can't be judged?
Replies: 3
Views: 1237

i see the 2xxx submitted by Adrian K
by bugzpodder
Mon Sep 22, 2003 12:16 am
Forum: Volume 103 (10300-10399)
Topic: 10310 - Dog and Gopher
Replies: 47
Views: 17647

anything wrong with these? Input 0 0 0 0 0 11 0 0 0 0 0.001 0 0 0.001 -0.001 0 0 -0.001 5 4 -10000 -10000 0 0 0 0 0 0 0 0 0 0 3 3 4 -10 0 -10000 -10000 0 0 3 4 3 3 4 -9.999 0 -10000 -10000 0 0 -390 -390 1 1.000 1.000 2.000 2.000 1.500 1.500 2 2.000 2.000 1.000 1.000 1.500 1.500 2.500 2.500 OUtput Th...
by bugzpodder
Sun Sep 21, 2003 5:59 pm
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 29286

judging from your situation, i am willing to bet that you did not catch the empty lines and spaces at the end of the output, which causes WA
by bugzpodder
Sun Sep 21, 2003 12:19 am
Forum: Volume 1 (100-199)
Topic: 115 - Climbing Trees
Replies: 30
Views: 11517

speaking of which, the shortest problem i wrote was for hashmat the brave warrior, it was so stupid -- just find the maximum of two numbers or something. anyone could have done the whole problem in 10 lines or less. but i dont understand why this is even in the archive in the first place, other than...
by bugzpodder
Sun Sep 21, 2003 12:14 am
Forum: Volume 104 (10400-10499)
Topic: 10400 - Game Show Math
Replies: 32
Views: 17971

backtracking
by bugzpodder
Sat Sep 20, 2003 4:25 am
Forum: Volume 101 (10100-10199)
Topic: 10101 - Bangla Numbers
Replies: 122
Views: 29286

okay, well i found the problem there is a case where the input is 0 (i check using infinite loop and double checked using division by 0 error). however in the problem description i was assured that all inputs are "positive" "The input file may contain several test cases. Each case will contain a pos...
by bugzpodder
Sat Sep 20, 2003 4:06 am
Forum: Volume 103 (10300-10399)
Topic: 10310 - Dog and Gopher
Replies: 47
Views: 17647

10310 - Dog and Gopher

I have: 1) made the output precision to 3 decimal places 2) output the first available hole and ignored all the ones after inputting them 3) if dog and gopher reaches a hole at the same time, gopher escapes 4) used long long to avoid any precision error (including not taking sqrt and using 4 to repl...
by bugzpodder
Sat Sep 20, 2003 3:46 am
Forum: C++
Topic: [resolved] long long
Replies: 3
Views: 1742

thanks a bunch you guys!!
by bugzpodder
Thu Sep 18, 2003 2:06 am
Forum: C++
Topic: [resolved] long long
Replies: 3
Views: 1742

[resolved] long long

hmm well i have a variable long long and i want to assign some big numbers to it. something like: v=a*a*a; i know that the value definately fits in long long v, but it is bigger than a standard integer. this has occured to me on a number of occasions :( it wont even let me use something like v=10000...
by bugzpodder
Wed Sep 17, 2003 11:37 pm
Forum: Volume 100 (10000-10099)
Topic: 10068 - The Treasure Hunt
Replies: 31
Views: 6359

i tried like 10 different styles of outputs and got PE on every one of them :S

Go to advanced search