Search found 19 matches

by adrianc
7 years ago
Forum: Problem set
Topic: 1009 - Arranging Amplifiers
Replies: 15
Views: 5315
Gender: None specified

Re: 1009 - Arranging Amplifiers

then i guess the time limit is on the edge and maybe you could reconsider it, because not everyone use C++... i use C# and im doing ONLY an Array.Sort to the input data and that TLEd, and there are some other problems that expose the same behavior... for example: problem 1487 Alarms problem 1830 Aga...
by adrianc
7 years ago
Forum: Problem set
Topic: 1009 - Arranging Amplifiers
Replies: 15
Views: 5315
Gender: None specified

Re: 1009 - Arranging Amplifiers

please check java submissions too!!
by adrianc
7 years ago
Forum: Problem set
Topic: 1009 - Arranging Amplifiers
Replies: 15
Views: 5315
Gender: None specified

Re: 1009 - Arranging Amplifiers

Please check the datasets again because im getting TLE no matter what i do and i have submitted a friend ac solution and got TLE too ...
by adrianc
7 years ago
Forum: Java
Topic: Arrays
Replies: 1
Views: 2503
Gender: None specified

Arrays

Hello i need to know if there is a way to convert from a generic data structure (say List<T>, Vector<T>, etc) to an array of T, because the method .toArray() returns an Object[]... and i need a T[]...
any words???
by adrianc
7 years ago
Forum: Java
Topic: Sorting
Replies: 1
Views: 2274
Gender: None specified

Sorting

i would like to know how to sort a Vector or an ArrayList without converting it to an array...
by adrianc
7 years ago
Forum: Archive (fixed)
Topic: Problem 1597 Average
Replies: 1
Views: 1863
Gender: None specified

Problem 1597 Average

Hey, i have an already accepted submission for this problem and im re-sending it and i got TLE please check it out, beside the last ac submission for this problem in a language othe than c/c++ was on december 8th, 2011!!!
thanks
by adrianc
7 years ago
Forum: Problem set
Topic: 1381 - Fast Fly
Replies: 3
Views: 1230
Gender: None specified

Re: Problem 1381 Fast Fly

Can we safely assume that the fly is always faster than both cyclists?? i mean m > v1,v2 ...
by adrianc
7 years ago
Forum: Problem set
Topic: 1537 - $10 to Win?
Replies: 1
Views: 520
Gender: None specified

1537 - $10 to Win?

http://coj.uci.cu/24h/problem.xhtml?abb=1537

I got a runtime error in this problem and I've tried everything and nothing comes up... and I see there is no accepted submission in c# for this problem, please check out the input file for an error...

thanks
by adrianc
7 years ago
Forum: Problem set
Topic: 1645 - Painting Wall
Replies: 4
Views: 1099
Gender: None specified

Re: Problem Painting Wall

im doing a list with the intervals, and for each interval i check if overlaps the previous ones and remove those, finally add the interval to the list, the final answer is the number of elements in the list... but im getting wrong answer... some advice???
by adrianc
7 years ago
Forum: Problem set
Topic: 1381 - Fast Fly
Replies: 3
Views: 1230
Gender: None specified

1381 - Fast Fly

http://coj.uci.cu/24h/problem.xhtml?abb=1381

I would like to know where does the fly start, cause she could start either by the side of the first cycle or the other, and that could cause two different answers to the same problem...

please give me some light!

Go to advanced search