|
|
אקסטרים
Started by CGX at 12-15-2010 14:11. Topic has 9 replies.
 
 
|
|
Sort Posts:
|
|
|
|
12-15-2010, 14:11
|
CGX
Joined on 11-13-2005
Posts 252
|
קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
שלום,
שלחתנו, לכל מי שנרשם, את הזומבי ושורדים אלף עד וו של שלב ההפתעה, שלב ב'. בתשובה לשאלה - מנוע המשחק מתייחס לזומבי כאל שורד רגיל, פרט לכך שהוא לא מקבל נקודות. ז"א שלא מקבלים נקודות על פגיעה בזומבי, אבל אפשר להשתלט עליו, כמו על כל שורד אחר, וזה אפילו קל יותר מכיוון שהוא, לעומת שורדים אחרים, לא ישתנה במהלך יום התחרות.
בהצלחה!
|
|
|
|
|
Report
|
|
|
|
12-24-2010, 7:46
|
shinigami
Joined on 01-30-2009
Posts 27
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
האם מישהו פתר את שלב ב' בצורה האינטליגנטית,
אם כן אשמח אם הוא יפרסם כמה סיבובים לוקח לו להשמיד את ששת השורדים
|
|
|
|
|
Report
|
|
|
|
12-24-2010, 8:19
|
GalDor
Joined on 09-09-2008
Posts 48
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
I do have the intelligent solution - it should be very fast - several hundred cycles. However, I did not participate in the competition today, and have not programmed it yet.
---------------------------------- Have you heard about the new Cray super computer? It’s so fast, it executes an infinite loop in 6 seconds.
|
|
|
|
|
Report
|
|
|
|
12-24-2010, 8:59
|
shinigami
Joined on 01-30-2009
Posts 27
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
כשיהיה לך פתרון שעובד תכנותית ולא רק מתמטית אשמח אם תחלוק איתנו כמה הוא מהיר(לפי הרצה כמובן)
|
|
|
|
|
Report
|
|
|
|
12-24-2010, 13:12
|
GalDor
Joined on 09-09-2008
Posts 48
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
The first draft (unoptimized to the extreme) kills alef in 450 cycles on average, and no more than 519...
---------------------------------- Have you heard about the new Cray super computer? It’s so fast, it executes an infinite loop in 6 seconds.
|
|
|
|
|
Report
|
|
|
|
12-24-2010, 13:58
|
GalDor
Joined on 09-09-2008
Posts 48
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
The second draft (slightly more optimized) kills alef on exactly 175 cycles...
---------------------------------- Have you heard about the new Cray super computer? It’s so fast, it executes an infinite loop in 6 seconds.
|
|
|
|
|
Report
|
|
|
|
12-24-2010, 14:18
|
GalDor
Joined on 09-09-2008
Posts 48
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
On a side note, you can always hijack one of the six survivors, and then work in parallel with him to kill the rest. (So it only takes about 510 cycles to kill all six survivors)
---------------------------------- Have you heard about the new Cray super computer? It’s so fast, it executes an infinite loop in 6 seconds.
|
|
|
|
|
Report
|
|
|
|
12-25-2010, 3:59
|
GalDor
Joined on 09-09-2008
Posts 48
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
Third version - has 50% chance to kill alef within 121 cycles, and 50% chance to kill alef within 177 cycles.
---------------------------------- Have you heard about the new Cray super computer? It’s so fast, it executes an infinite loop in 6 seconds.
|
|
|
|
|
Report
|
|
|
|
12-25-2010, 13:04
|
GalDor
Joined on 09-09-2008
Posts 48
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
Fourth version: has 50% chance to kill alef in exactly 155 cycles, 25% chance to do so in 107 cycles, and 25% chance to do so within 67 cycles.
---------------------------------- Have you heard about the new Cray super computer? It’s so fast, it executes an infinite loop in 6 seconds.
|
|
|
|
|
Report
|
|
|
|
12-26-2010, 11:48
|
shinigami
Joined on 01-30-2009
Posts 27
|
Re: קודגורו אקסטרים 6 - שלב ב', זומבי וכדומה
|
|
|
|
|
תודה על הפרסום
אם אני אפתור את החידה מתישהו אני אפרסם גם את הזמן שלי
|
|
|
|
|
Report
|
|
|
|
|
|