Search found 40 matches

by MPC1984
Sat Aug 13, 2016 3:26 pm
Forum: Off topic (General chit-chat)
Topic: New Judge Online: Acepta el reto!
Replies: 8
Views: 16333

New Judge Online: Acepta el reto!

Hi again everybody!!! I have seen that people from that online judge try to solve problems from Acepta el reto!. Could anyone of you help me with the following problems? PROBLEM 230: TLE #include <stdio.h> int i, j, numHabitantes, contador; long diasVividos [100000]; int main(void) { scanf("%d", &nu...
by MPC1984
Fri Jul 03, 2015 5:18 pm
Forum: Other words
Topic: Problems to get uHunt code
Replies: 6
Views: 4911

Re: Problems to get uHunt code

Five months and no answer obtained.

Someone who has that code please, explain me what you have done to get it.

Thanks :wink:
by MPC1984
Fri Jul 03, 2015 5:13 pm
Forum: Algorithms
Topic: Searching an efficient algorithm
Replies: 0
Views: 1123

Searching an efficient algorithm

Hi everybody! I want to know if there is an algorithm that: given an unsorted array, I want to go element by element and know the number of subsequent elements that are smaller than the current one. If that algorithm doesn't exist, could someone give me one efficient, please? Thanks in advance. :wink:
by MPC1984
Sat Apr 25, 2015 9:57 pm
Forum: Volume 127 (12700-12799)
Topic: 12725 - Fat and Orial
Replies: 1
Views: 3439

12725 - Fat and Orial

Hi everybody! It's possible to solve this problem with JAVA and don't get TLE? I don't know how to improve my code for getting AC (know I'm getting TLE). Someone could help me? Here it's my JAVA's code: import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; i...
by MPC1984
Sat Apr 11, 2015 9:29 pm
Forum: Other words
Topic: Problems to get uHunt code
Replies: 6
Views: 4911

Problems to get uHunt code

I'm waiting for more than two months, and no answer is obtained. :(
by MPC1984
Tue Feb 17, 2015 2:56 pm
Forum: Algorithms
Topic: Quicksort algorithm or something similar
Replies: 3
Views: 1579

Quicksort algorithm or something similar

Hi everybody!

I don't know how to implement a divide and conquer algorithm in the previous problem. Someone could help me?

I only have two problems tried and not solved :( from http://www.aceptaelreto.com, and I want to have all solved :D .

Thanks in advance. :wink:
by MPC1984
Thu Feb 05, 2015 9:11 pm
Forum: Other words
Topic: Problems to get uHunt code
Replies: 6
Views: 4911

Problems to get uHunt code

No answer obtained. :(
by MPC1984
Mon Feb 02, 2015 1:12 pm
Forum: Other words
Topic: Problems to get uHunt code
Replies: 6
Views: 4911

Problems to get uHunt code

Hi everybody! I've tried many times get the uHunt code, doing the following: If you do not have a uHunt code yet, you can get it by sending an email to uhunt@felix-halim.net from your UVa's registered email, with subject "generate-code" without the quotes. But never send me the code. Is there other ...
by MPC1984
Mon Jan 26, 2015 2:25 pm
Forum: Algorithms
Topic: Quicksort algorithm or something similar
Replies: 3
Views: 1579

Quicksort algorithm or something similar

Sorry for the vagueness brianfry713 :oops: The problem in English is the following (sorry for the translation): Temporary disorders: Once a technological advance comes the "general public" effects usually arise from their use anyone would have predicted at first. The nomofobia or irrational to leave...
by MPC1984
Thu Jan 22, 2015 6:09 pm
Forum: Algorithms
Topic: Quicksort algorithm or something similar
Replies: 3
Views: 1579

Quicksort algorithm or something similar

Hi everybody! I want to improve the following algorithm: #include <stdio.h> int i, j, numHabitantes, contador; long diasVividos [100000]; int main(void) { scanf("%d", &numHabitantes); while(numHabitantes > 0) { contador = 0; for(i = 0; i < numHabitantes; i++) { scanf("%d", &diasVividos[i]); } for(i ...
by MPC1984
Mon Dec 15, 2014 6:43 pm
Forum: Volume 127 (12700-12799)
Topic: 12750 - Keep Rafa at Chelsea
Replies: 3
Views: 1664

Re: 12750 - Keep Rafa at Chelsea

Thank you brianfry713!
I haven't understood the problem correctly. :oops:
by MPC1984
Fri Dec 12, 2014 6:19 pm
Forum: Volume 127 (12700-12799)
Topic: 12750 - Keep Rafa at Chelsea
Replies: 3
Views: 1664

Re: 12750 - Keep Rafa at Chelsea

Hi everybody!
I don't know why I'm getting WA for this problem. Could someone help me please?
Here it's my Java's code:

Code: Select all

AC
Thanks in advance :wink:
by MPC1984
Mon Nov 24, 2014 1:21 pm
Forum: Volume 109 (10900-10999)
Topic: 10903 - Rock-Paper-Scissors Tournament
Replies: 27
Views: 10916

Re: 10903 - Rock-Paper-Scissors Tournament

Thank you brianfry713, but I don't know why I'm getting WA if it's an AC code. :roll:
by MPC1984
Fri Nov 14, 2014 6:34 pm
Forum: Volume 109 (10900-10999)
Topic: 10903 - Rock-Paper-Scissors Tournament
Replies: 27
Views: 10916

Re: 10903 - Rock-Paper-Scissors Tournament

Hi everybody!
I'm getting WA in this problem and I don't know why. Someone could help me?

Code: Select all

AC
Thanks in advance! :wink:
by MPC1984
Mon Nov 03, 2014 1:09 pm
Forum: Volume 101 (10100-10199)
Topic: 10191 - Longest Nap
Replies: 75
Views: 22624

Re: 10191 - Longest Nap

My code passed that input too (I'm executting the program from NetBeans framework), and I don't know why in http://ideone.com/QC4bnE you get output different from mine. :( Thank you for your help lighted!, but I've changed the algorithm and I've got AC. I think it's a problem of rounding numbers, if...

Go to advanced search