Codeforces Beta Round 93 (Div. 1 Only)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
126 Codeforces Beta Round 93 (Div. 1 Only) FINISHED False 7200 410965199 Nov. 9, 2011, 5 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1436 ) A Hot Bath PROGRAMMING binary search brute force math 1900

B"Bob is about to take a hot bath. There are two taps to fill the bath: a hot water tap and a cold water tap. The cold water's temperature is t1, and the hot water's temperature is t2. The cold water tap can transmit any integer number of water units per second from 0 to x1, inclusive. Similarly, the hot water tap can transmit from 0 to x2 water units per second. If y1 water units per second flow through the first tap and y2 water units per second flow through the second tap, then the resulting bath water temperature will be: Bob wants to open both taps so that the bath water temperature was not less than t0. However, the temperature should be as close as possible to this value. If there are several optimal variants, Bob chooses the one that lets fill the bath in the quickest way possible. Determine how much each tap should be opened so that Bob was pleased with the result in the end. You are given five integers t1, t2, x1, x2 and t0 (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89t1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89t0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89t2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106, 1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x1, xe2 x80 x89x2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106). Print two space-separated integers y1 and y2 (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89y1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x1, 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89y2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89x2). In the second sample the hot water tap shouldn't be opened, but the cold water tap should be opened at full capacity in order to fill the bath in the quickest way possible."...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
54797234 hkyiitd A May 29, 2019, 10:15 a.m. OK Clang++17 Diagnostics TESTS 70 218 0 1900
2440188 AleksanderBalobanov A Oct. 26, 2012, 6:33 p.m. OK Delphi TESTS 70 125 102400 1900
853856 ruban A Nov. 10, 2011, 12:27 a.m. OK Delphi TESTS 70 160 40960000 1900
862098 v1m A Nov. 13, 2011, 5:01 p.m. OK Delphi TESTS 70 170 819200 1900
858632 Mazeev A Nov. 11, 2011, 4:30 p.m. OK Delphi TESTS 70 250 819200 1900
878516 urbilya A Nov. 19, 2011, 5:19 a.m. OK Delphi TESTS 70 270 921600 1900
848875 malcolm A Nov. 9, 2011, 6:12 p.m. OK Delphi TESTS 70 270 921600 1900
878503 kord A Nov. 19, 2011, 5:08 a.m. OK Delphi TESTS 70 280 921600 1900
848423 tourist A Nov. 9, 2011, 6:05 p.m. OK Delphi TESTS 70 420 819200 1900
857383 BaJIuK A Nov. 11, 2011, 6:06 a.m. OK Delphi TESTS 70 780 17715200 1900
860160 vubinhne A Nov. 12, 2011, 12:11 p.m. OK Delphi TESTS 70 810 819200 1900
860918 boba A Nov. 12, 2011, 9:05 p.m. OK FPC TESTS 70 60 1024000 1900
853859 YY_More A Nov. 10, 2011, 12:29 a.m. OK FPC TESTS 70 60 1024000 1900
891258 zanoes A Nov. 25, 2011, 2:08 p.m. OK FPC TESTS 70 170 1024000 1900
876059 LifeKeeper A Nov. 17, 2011, 3:01 p.m. OK FPC TESTS 70 170 1024000 1900
918592 binh95 A Dec. 3, 2011, 1:24 p.m. OK FPC TESTS 70 230 1024000 1900
849150 Shapo A Nov. 9, 2011, 6:17 p.m. OK FPC TESTS 70 230 1126400 1900
856203 ruban A Nov. 10, 2011, 3:50 p.m. OK FPC TESTS 70 230 41062400 1900
918603 binh95 A Dec. 3, 2011, 1:29 p.m. OK FPC TESTS 70 250 1024000 1900
855875 Saimon_Saret A Nov. 10, 2011, 1:42 p.m. OK FPC TESTS 70 270 1024000 1900
1753136 scorpion A June 3, 2012, 9:12 a.m. OK FPC TESTS 70 280 1228800 1900
852897 kawatea A Nov. 9, 2011, 8:24 p.m. OK GNU C TESTS 70 60 1331200 1900
849244 -.- A Nov. 9, 2011, 6:19 p.m. OK GNU C TESTS 70 60 1331200 1900
844439 LayCurse A Nov. 9, 2011, 5:11 p.m. OK GNU C TESTS 70 90 1331200 1900
989859 Sender A Dec. 28, 2011, 3:39 p.m. OK GNU C TESTS 70 160 1331200 1900
3264403 cpy A March 8, 2013, 5:42 a.m. OK GNU C TESTS 70 812 0 1900
8422220 sgtlaugh A Oct. 26, 2014, 8:18 p.m. OK GNU C TESTS 70 1808 0 1900
6735618 vjudge2 A May 29, 2014, 3:55 p.m. OK GNU C TESTS 70 1808 0 1900
3728108 karanaggarwal A May 16, 2013, 6:25 p.m. OK GNU C++ TESTS 70 15 0 1900
27618635 Herman_Lien A June 6, 2017, 4:58 p.m. OK GNU C++ TESTS 70 30 0 1900
27618533 Herman_Lien A June 6, 2017, 4:51 p.m. OK GNU C++ TESTS 70 30 0 1900
1158084 fooooooo A Feb. 8, 2012, 4:22 p.m. OK GNU C++ TESTS 70 30 1331200 1900
857623 ILJ A Nov. 11, 2011, 9:16 a.m. OK GNU C++ TESTS 70 30 1331200 1900
1709257 vjudge5 A May 22, 2012, 11:14 a.m. OK GNU C++ TESTS 70 30 1433600 1900
852360 riadwaw A Nov. 9, 2011, 8:07 p.m. OK GNU C++ TESTS 70 30 1433600 1900
847619 sandytea A Nov. 9, 2011, 5:52 p.m. OK GNU C++ TESTS 70 30 1433600 1900
847098 ICOA A Nov. 9, 2011, 5:43 p.m. OK GNU C++ TESTS 70 30 1433600 1900
28537779 vjudge1 A July 14, 2017, 5:01 a.m. OK GNU C++ TESTS 70 30 1945600 1900
853968 wisterik A Nov. 10, 2011, 1:29 a.m. OK GNU C++0x TESTS 70 60 1433600 1900
852490 knock-knock A Nov. 9, 2011, 8:10 p.m. OK GNU C++0x TESTS 70 60 1433600 1900
852397 knock-knock A Nov. 9, 2011, 8:08 p.m. OK GNU C++0x TESTS 70 60 1433600 1900
845064 watashi A Nov. 9, 2011, 5:17 p.m. OK GNU C++0x TESTS 70 60 1433600 1900
5456175 marat.snowbear A Dec. 17, 2013, 3:33 p.m. OK GNU C++0x TESTS 70 62 0 1900
4320956 A_Le_K A Aug. 21, 2013, 5:08 p.m. OK GNU C++0x TESTS 70 62 0 1900
853988 jonathanasdf A Nov. 10, 2011, 1:37 a.m. OK GNU C++0x TESTS 70 80 1433600 1900
852514 knock-knock A Nov. 9, 2011, 8:10 p.m. OK GNU C++0x TESTS 70 80 1433600 1900
846680 siuvit A Nov. 9, 2011, 5:37 p.m. OK GNU C++0x TESTS 70 80 1433600 1900
985988 Archon.JK A Dec. 25, 2011, 6:11 p.m. OK GNU C++0x TESTS 70 90 1331200 1900
57923702 Alex_Wei A July 29, 2019, 6:15 a.m. OK GNU C++11 TESTS 70 62 0 1900
19457741 giwoo123 A July 28, 2016, 8:48 a.m. OK GNU C++11 TESTS 70 62 0 1900
11920002 JohStraat A July 4, 2015, 7:58 a.m. OK GNU C++11 TESTS 70 62 0 1900
11193353 Maestr0 A May 21, 2015, 5:31 p.m. OK GNU C++11 TESTS 70 62 0 1900
10608457 NgocHai A April 6, 2015, 5:31 a.m. OK GNU C++11 TESTS 70 62 0 1900
22794737 aka.Sohieb A Dec. 7, 2016, 6:21 p.m. OK GNU C++11 TESTS 70 62 2048000 1900
51081668 Elshiko A March 9, 2019, 11:31 a.m. OK GNU C++11 TESTS 70 92 0 1900
43917839 donbasta A Oct. 6, 2018, 8:02 p.m. OK GNU C++11 TESTS 70 92 0 1900
41513231 MisakaKuma A Aug. 12, 2018, 3:56 a.m. OK GNU C++11 TESTS 70 92 0 1900
21998213 Kusika A Nov. 2, 2016, 5:27 p.m. OK GNU C++11 TESTS 70 92 0 1900
26331789 akapros A April 13, 2017, 6:08 a.m. OK GNU C++14 TESTS 70 30 1945600 1900
23619509 Ali.Pi A Jan. 7, 2017, 8:05 a.m. OK GNU C++14 TESTS 70 60 1945600 1900
51139305 vjudge1 A March 10, 2019, 6:10 p.m. OK GNU C++14 TESTS 70 62 0 1900
46824763 Noam527 A Dec. 9, 2018, 5:34 p.m. OK GNU C++14 TESTS 70 62 0 1900
68584652 100gods A Jan. 11, 2020, 10:57 a.m. OK GNU C++14 TESTS 70 62 204800 1900
68584699 vjudge5 A Jan. 11, 2020, 10:57 a.m. OK GNU C++14 TESTS 70 62 204800 1900
33616643 zhaochen A Dec. 25, 2017, 12:33 p.m. OK GNU C++14 TESTS 70 62 1945600 1900
28013757 RaresC A June 25, 2017, 12:35 a.m. OK GNU C++14 TESTS 70 62 1945600 1900
67982986 artur.socha A Dec. 30, 2019, 8:23 p.m. OK GNU C++14 TESTS 70 92 0 1900
56892815 Ada.Grad.Shil A July 12, 2019, 2:41 p.m. OK GNU C++14 TESTS 70 92 0 1900
63102241 IsmailToukhy A Oct. 22, 2019, 1:43 a.m. OK GNU C++17 TESTS 70 62 0 1900
55800304 Darshit_99 A June 19, 2019, 6:53 p.m. OK GNU C++17 TESTS 70 62 0 1900
43462473 Martin53 A Sept. 26, 2018, 5:30 p.m. OK GNU C++17 TESTS 70 62 0 1900
67435991 vjudge2 A Dec. 22, 2019, 5:11 p.m. OK GNU C++17 TESTS 70 92 0 1900
59878639 Carl___P A Sept. 2, 2019, 2:45 a.m. OK GNU C++17 TESTS 70 92 0 1900
55088886 quake0 A June 4, 2019, 1:40 p.m. OK GNU C++17 TESTS 70 92 0 1900
51122783 webeseit A March 10, 2019, 10:10 a.m. OK GNU C++17 TESTS 70 92 0 1900
55090180 quake0 A June 4, 2019, 2:12 p.m. OK GNU C++17 TESTS 70 92 7987200 1900
48555059 Ptolemy_314 A Jan. 19, 2019, 4:51 a.m. OK GNU C++17 TESTS 70 122 204800 1900
68348732 tehillah A Jan. 7, 2020, 8:43 a.m. OK GNU C++17 TESTS 70 124 0 1900
2860884 pavel.rosputko A Dec. 31, 2012, 11:33 a.m. OK Haskell TESTS 70 250 0 1900
2860784 pavel.rosputko A Dec. 31, 2012, 11 a.m. OK Haskell TESTS 70 250 0 1900
2860753 pavel.rosputko A Dec. 31, 2012, 10:49 a.m. OK Haskell TESTS 70 250 0 1900
2860876 pavel.rosputko A Dec. 31, 2012, 11:32 a.m. OK Haskell TESTS 70 265 0 1900
64474687 ftiasch A Nov. 7, 2019, 2:02 p.m. OK Haskell TESTS 70 560 102400 1900
2435444 Kornacker A Oct. 25, 2012, 9:43 p.m. OK Java 6 TESTS 70 125 0 1900
1157662 wackloner A Feb. 8, 2012, 1:12 p.m. OK Java 6 TESTS 70 130 43008000 1900
850525 uwi A Nov. 9, 2011, 6:38 p.m. OK Java 6 TESTS 70 140 43008000 1900
848401 unicef A Nov. 9, 2011, 6:04 p.m. OK Java 6 TESTS 70 140 43110400 1900
846452 Sammarize A Nov. 9, 2011, 5:34 p.m. OK Java 6 TESTS 70 140 43110400 1900
889856 RodionGork A Nov. 24, 2011, 5:29 p.m. OK Java 6 TESTS 70 140 43212800 1900
854718 ryanaaa A Nov. 10, 2011, 7:19 a.m. OK Java 6 TESTS 70 160 43110400 1900
848184 ivan.popelyshev A Nov. 9, 2011, 6:01 p.m. OK Java 6 TESTS 70 160 43110400 1900
854678 ika A Nov. 9, 2011, 5:25 p.m. OK Java 6 TESTS 70 160 43212800 1900
852790 Shlakoblock A Nov. 9, 2011, 8:19 p.m. OK Java 6 TESTS 70 160 43315200 1900
4065681 edorundo A July 13, 2013, 9:59 p.m. OK Java 7 TESTS 70 203 102400 1900
6897612 alibaba A June 16, 2014, 5:15 a.m. OK Java 7 TESTS 70 218 0 1900
4301493 nickbuelich A Aug. 17, 2013, 5:58 a.m. OK Java 7 TESTS 70 404 0 1900
4207066 trunghieu11 A July 31, 2013, 4:16 a.m. OK Java 7 TESTS 70 560 0 1900
4367239 DoublePointer A Aug. 29, 2013, 5:48 p.m. OK Java 7 TESTS 70 716 0 1900
8343491 404Error A Oct. 21, 2014, 3:09 p.m. OK Java 7 TESTS 70 1902 0 1900
8336062 404Error A Oct. 20, 2014, 11:45 p.m. OK Java 7 TESTS 70 1964 0 1900
26158967 kunalk A April 5, 2017, 9:33 p.m. OK Java 8 TESTS 70 278 20377600 1900
38569410 Md_Ibrahim_Khan A May 23, 2018, 5:55 p.m. OK Java 8 TESTS 70 342 0 1900
39525737 KulikAlex A June 22, 2018, 6:57 p.m. OK Java 8 TESTS 70 686 0 1900
9077788 AlexFetisov A Dec. 11, 2014, 3:53 a.m. OK Java 8 TESTS 70 810 0 1900
10555470 fnch A April 2, 2015, 9:48 p.m. OK Java 8 TESTS 70 934 0 1900
39944397 ViciousCoder A July 4, 2018, 6:38 a.m. OK Java 8 TESTS 70 1058 42496000 1900
11409536 poikniok A June 4, 2015, 5:32 a.m. OK Java 8 TESTS 70 1184 0 1900
8343498 404Error A Oct. 21, 2014, 3:10 p.m. OK Java 8 TESTS 70 1464 0 1900
48602783 Tarun A Jan. 20, 2019, 9:09 a.m. OK Java 8 TESTS 70 1528 137932800 1900
16337491 ATailouloute A Feb. 25, 2016, 8:39 p.m. OK Java 8 TESTS 70 1682 0 1900
883018 NickSerg A Nov. 20, 2011, 6:34 p.m. OK Mono C# TESTS 70 130 10035200 1900
859406 fsb4000 A Nov. 12, 2011, 4:07 a.m. OK Mono C# TESTS 70 140 10035200 1900
853117 extremall A Nov. 9, 2011, 8:40 p.m. OK Mono C# TESTS 70 300 10035200 1900
876131 tanzaku A Nov. 17, 2011, 3:22 p.m. OK Mono C# TESTS 70 1160 10035200 1900
5486063 serglag A Dec. 21, 2013, 9:26 a.m. OK MS C++ TESTS 70 30 0 1900
856817 ksjuchi A Nov. 10, 2011, 8:05 p.m. OK MS C++ TESTS 70 30 1433600 1900
853710 daftcoder A Nov. 9, 2011, 10:47 p.m. OK MS C++ TESTS 70 60 1433600 1900
852894 Bugman A Nov. 9, 2011, 8:24 p.m. OK MS C++ TESTS 70 60 1433600 1900
852389 AndreyP A Nov. 9, 2011, 8:08 p.m. OK MS C++ TESTS 70 60 1433600 1900
852144 Kostroma A Nov. 9, 2011, 6:59 p.m. OK MS C++ TESTS 70 60 1433600 1900
854837 jaric A Nov. 10, 2011, 8:01 a.m. OK MS C++ TESTS 70 60 1433600 1900
905421 acrux A Nov. 26, 2011, 9:25 a.m. OK MS C++ TESTS 70 60 1433600 1900
1408837 zjnuvjudge2 A March 25, 2012, 1:35 p.m. OK MS C++ TESTS 70 60 1433600 1900
1701557 564ht A May 18, 2012, 1:13 p.m. OK MS C++ TESTS 70 60 1433600 1900
964830 drbitboy A Dec. 17, 2011, 3:50 a.m. OK Python 2 TESTS 70 300 7680000 1900
21910813 lan4strings A Oct. 31, 2016, 12:05 p.m. OK Python 3 TESTS 70 560 307200 1900

remove filters

Back to search problems