Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 joro the football player /////////////////////////////////////////////////////////////////////////
- 2 the voleyball player ////////////////////////////////////////////////////////////////////////////////
- 3 work hours ////////////////////////////////////////////////////////////////////////////////////////
- 4 cinema ////////////////////////////////////////////////////////////////////////////////
- 5 razstoqnie v 2 tochki /////////////////////////////////////////////////////////////////////////
- double a = Math.Sqrt(Math.Pow((cx - bx),2)+Math.Pow((cy - by),2)); razstoqnie mejdu 2 to4ki
- double p = (a + b + c) / 2
- double area = Math.Sqrt(p*(p-a)*(p-b)*(p-c));
- 6 date time ////////////////////////////////////////////////////////////////////////
- DateTime startTime = new DateTime(2014, 01, 01, startHour, startMinutes, startSeconds);
- DateTime endTime = startTime.AddHours(duratationHour).AddMinutes(duratationMinutes).AddSeconds(duratationSeconds);
- 7 fruit market //////////////////////////////////////////////////////////////
- switch / case i bolevi promellivi
- 8 inside the building ////////////////////////////////////////////////////////////////////////////
- if (((x >= h && x <= 2 * h) && (y >= h && y <= 4 * h)) || ((x >= 0 && x <= 3 * h) && (y >= 0 && y <= h)))
- fit in box ////////////////////////////////////////////////////////////////////////////////
- if (w1 < w2 && h1 < h2 && d1 < d2)
- {
- Console.WriteLine("({0}, {1}, {2}) < ({3}, {4}, {5})", w1, h1, d1, w2, h2, d2);
- }
- 25 july morning melon / watermelon ///////////////////////////////////////////////////////////////
- int dayOfWeek = i % 7;
- swith /case po cifri
- 25 july evening Electricity /////////////////////////////////////////////////////////////////////
- DateTime firstStart = DateTime.Parse("00:00");
- DateTime firstEnd = DateTime.Parse("08:59");
- if (firstStart <= time && time <= firstEnd)
- {
- totalPower = totalPower + ((lampPower * 1) + (compPower * 8));
- }
- 22 avgust TABLES //////////////////////////////////////////////////////////////////////////
- tablesPossible - tablesToBeMade < 0 ? 0 : tablesPossible - tablesToBeMade);
- Math.Max(0,tablesPossible - tablesToBeMade),
- Math.Max(0,allLegs - tablesToBeMade*4) );
- 26 avgust TIC TAE TOE ////////////////////////////////////////////////////////////////////////////
- value = (value + position) - 1;
- Console.WriteLine((long)Math.Pow(value,position));
- 7 Noemvri BUDGET //////////////////////////////////////////////////////////////////////////
- Console.WriteLine("No, not enough {0}.", Math.Abs(moneyLeft));
- 8 noemvri BABA TINCHE AIRLINES //////////////////////////////////////////////////////////////////
- // nachi za 4etene na nqkolko stoinosti ot edin red ReadLine
- string[] firstClassInfo = Console.ReadLine().Split();
- int firstClassPassengers = int.Parse(firstClassInfo[0]);
- int firstClassFrequent = int.Parse(firstClassInfo[1]);
- int firstClassMeals = int.Parse(firstClassInfo[2]);
- 19 dekemvri TravelerBOB//////////////////////////////////////////////////////////
- //totalTravels = totalTravels * 1.05;
- 20 dekemvri TANK ////////////////////////////////////////////////////////////////////////
- double result = Math.Ceiling(totalMonthsRequired);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement