לוגו אתר Fresh          
 
 
  אפשרות תפריט  ראשי     אפשרות תפריט  צ'אט     אפשרות תפריט  מבזקים     אפשרות תפריט  צור קשר     חץ שמאלה ‎print ‎"Hello World!"; if‎ ‎not rules.‎know ‎then rules.‎read(); חץ ימינה  

לך אחורה   לובי הפורומים > מחשבים > תכנות ובניית אתרים
שמור לעצמך קישור לדף זה באתרי שמירת קישורים חברתיים
תגובה
 
כלי אשכול חפש באשכול זה



  #1  
ישן 25-05-2006, 15:06
  SnaCk SnaCk אינו מחובר  
 
חבר מתאריך: 09.05.05
הודעות: 303
code jam עזרה בהבנת הבעיה

אני לא מצליח לתרגם את האתגר אם למישהו משעמם אבל ממש ממש משעמם והוא יודע אנגלית ממש טוב

אז אם אתה יכול לתרגם את זה אז בבבבבבבבבבבבבבבקקקקקקקקקקקשששששששההההההה(בקשה)

A multinational firm wants to create a communication network between asteroids. To achieve this, they will use brand new equipment where communication is made between pairs of stations in the following manner:
Each station throws a ray pointing directly to the other, and at the point where both rays meet, information is exchanged and brought back to the original stations. It is possible to save power this way because the maximum ranges of the two stations are combined to produce a greater range. For example, if two stations are ten miles apart, it is sufficient for one station to have power for a range of 6 miles and the other to have power for a range of 4 miles.

The firm wants every asteroid to be able to communicate directly with each of the other asteroids. One station will be bought for each asteroid. The cost of this equipment increases rapidly with power, so it is always better to buy stations that are as weak as possible while still providing enough range for the required communication. There are multiple configurations that will satisfy the firm's requirement. Choose the one where the range of the most powerful station is minimized, and if there are still multiple configurations, choose the one among them where the range of the second most powerful station is minimized, and so on.

You will be given the 3-D coordinates of the asteroids in three vector <int>s x, y and z. The x, y and z coordinates of the ith asteroid will be given by the ith element of x, y and z respectively. Choose the stations' ranges as described above and return the range of the least powerful station.

_____________________________________

[התמונה הבאה מגיעה מקישור שלא מתחיל ב https ולכן לא הוטמעה בדף כדי לשמור על https תקין: http://www.maxthon.com/logo/maxthon2_2.gif]

תגובה ללא ציטוט תגובה עם ציטוט חזרה לפורום
תגובה

כלי אשכול חפש באשכול זה
חפש באשכול זה:

חיפוש מתקדם
מצבי תצוגה דרג אשכול זה
דרג אשכול זה:

מזער את תיבת המידע אפשרויות משלוח הודעות
אתה לא יכול לפתוח אשכולות חדשים
אתה לא יכול להגיב לאשכולות
אתה לא יכול לצרף קבצים
אתה לא יכול לערוך את ההודעות שלך

קוד vB פעיל
קוד [IMG] פעיל
קוד HTML כבוי
מעבר לפורום



כל הזמנים המוצגים בדף זה הם לפי איזור זמן GMT +2. השעה כעת היא 13:13

הדף נוצר ב 0.06 שניות עם 12 שאילתות

הפורום מבוסס על vBulletin, גירסא 3.0.6
כל הזכויות לתוכנת הפורומים שמורות © 2024 - 2000 לחברת Jelsoft Enterprises.
כל הזכויות שמורות ל Fresh.co.il ©

צור קשר | תקנון האתר