CROC-MBTU 2012, Elimination Round (ACM-ICPC)

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
245 CROC-MBTU 2012, Elimination Round (ACM-ICPC) FINISHED False 7800 384100187 Nov. 19, 2012, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 898 ) F Log Stream Analysis PROGRAMMING binary search brute force implementation strings 2000

B'You 've got a list of program warning logs. Each record of a log stream is a string in this format: String "MESSAGE" consists of spaces, uppercase and lowercase English letters and characters "!", ".", ",", "?". String "2012-MM-DD" determines a correct date in the year of 2012. String "HH:MM:SS" determines a correct time in the 24 hour format. The described record of a log stream means that at a certain time the record has got some program warning (string "MESSAGE" contains the warning 's description). Your task is to print the first moment of time, when the number of warnings for the last n seconds was not less than m. The first line of the input contains two space-separated integers n and m (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910000). The second and the remaining lines of the input represent the log stream. The second line of the input contains the first record of the log stream, the third line contains the second record and so on. Each record of the log stream has the above described format. All records are given in the chronological order, that is, the warning records are given in the order, in which the warnings appeared in the program. It is guaranteed that the log has at least one record. It is guaranteed that the total length of all lines of the log stream doesn 't exceed 5 xc2 xb7106 (in particular, this means that the length of some line does not exceed 5 xc2 xb7106 characters). It is guaranteed that all given dates and times are correct, and the string 'MESSAGE" in all records is non-empty. If there is no sought moment of time, print -1. Otherwise print a string in the format "2012-MM-DD HH:MM:SS" (without the quotes) -- the first moment of time when the number of warnings for the last n seconds got no less than m.'...

Tutorials

КРОК-МВТУ 2012, Отборочный раунд (Разбор)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
2600865 MrJigan1488 F Nov. 19, 2012, 6:12 p.m. OK Delphi TESTS 21 78 81510400 2000
2599647 gohard F Nov. 19, 2012, 5:36 p.m. OK Delphi TESTS 21 109 34099200 2000
2598994 danpol F Nov. 19, 2012, 5:29 p.m. OK Delphi TESTS 21 125 2048000 2000
2629567 Ramp F Nov. 22, 2012, 11:29 p.m. OK Delphi TESTS 21 125 19353600 2000
2599929 Natali F Nov. 19, 2012, 5:39 p.m. OK Delphi TESTS 21 125 202444800 2000
2605302 AleksanderBalobanov F Nov. 20, 2012, 12:39 p.m. OK Delphi TESTS 21 140 24166400 2000
2596115 DeathCoil F Nov. 19, 2012, 4:52 p.m. OK Delphi TESTS 21 140 42188800 2000
2601480 KaiZeR F Nov. 19, 2012, 7:14 p.m. OK Delphi TESTS 21 187 10444800 2000
2599237 aleksusklim F Nov. 19, 2012, 5:32 p.m. OK Delphi TESTS 21 218 82227200 2000
2630252 Misha100896 F Nov. 23, 2012, 6:21 a.m. OK Delphi TESTS 21 281 4096000 2000
2628385 DarthRevan F Nov. 22, 2012, 5:17 p.m. OK FPC TESTS 21 46 6041600 2000
2614121 Tatyana_Petrashko F Nov. 21, 2012, 3:55 p.m. OK FPC TESTS 21 62 4096000 2000
3670015 AHTuTTuTyX F May 4, 2013, 6:17 p.m. OK FPC TESTS 21 62 11366400 2000
2604611 scorpion F Nov. 20, 2012, 10:33 a.m. OK FPC TESTS 21 62 24166400 2000
2608652 X-Panda F Nov. 21, 2012, 5:57 a.m. OK FPC TESTS 21 62 40140800 2000
2611033 Dima_qwer F Nov. 21, 2012, 3:20 p.m. OK FPC TESTS 21 78 6553600 2000
15141514 HappyNewYearMike F Dec. 31, 2015, 9:34 p.m. OK FPC TESTS 20 93 96870400 2000
2611025 metalopocalipsis F Nov. 21, 2012, 3:18 p.m. OK FPC TESTS 21 125 4096000 2000
2626716 vjtest F Nov. 22, 2012, 12:15 p.m. OK FPC TESTS 21 125 5120000 2000
2596017 Alex_2oo8 F Nov. 19, 2012, 4:51 p.m. OK FPC TESTS 21 140 9216000 2000
31977030 libra9z F Nov. 2, 2017, 11:11 a.m. OK GNU C TESTS 20 31 9011200 2000
35181241 vjudge5 F Feb. 12, 2018, 2:46 p.m. OK GNU C TESTS 20 31 10854400 2000
14702859 AmantedelaComida F Dec. 8, 2015, 6:56 p.m. OK GNU C TESTS 20 46 1024000 2000
14702707 AmantedelaComida F Dec. 8, 2015, 6:43 p.m. OK GNU C TESTS 20 46 1024000 2000
3016387 gxnncrx1993 F Jan. 27, 2013, 1:22 p.m. OK GNU C TESTS 21 125 5529600 2000
10963008 ttpond F May 1, 2015, 11:06 a.m. OK GNU C TESTS 20 155 247398400 2000
22171188 tyf0530 F Nov. 12, 2016, 1:47 a.m. OK GNU C++ TESTS 20 15 5017600 2000
22149684 lzq F Nov. 10, 2016, 2:12 p.m. OK GNU C++ TESTS 20 15 5734400 2000
12969315 cylzty110 F Sept. 12, 2015, 7:05 a.m. OK GNU C++ TESTS 20 15 10035200 2000
32067204 vjudge5 F Nov. 5, 2017, 3:36 a.m. OK GNU C++ TESTS 20 15 15872000 2000
22133224 sidnee F Nov. 9, 2016, 3:13 p.m. OK GNU C++ TESTS 20 15 24883200 2000
7783426 ohweonfire F Sept. 13, 2014, 1:13 p.m. OK GNU C++ TESTS 20 15 50073600 2000
16689067 vjudge2 F March 13, 2016, 9:27 a.m. OK GNU C++ TESTS 20 15 145305600 2000
28691520 vjudge1 F July 19, 2017, 9:07 a.m. OK GNU C++ TESTS 20 15 152371200 2000
16689011 vjudge5 F March 13, 2016, 9:25 a.m. OK GNU C++ TESTS 20 15 185344000 2000
4984826 chm517 F Nov. 4, 2013, 10:14 a.m. OK GNU C++ TESTS 20 30 3993600 2000
7797568 FizzyDavid F Sept. 14, 2014, 10:02 p.m. OK GNU C++0x TESTS 20 31 6451200 2000
8367828 aliasadiiii F Oct. 23, 2014, 1:14 p.m. OK GNU C++0x TESTS 20 31 13004800 2000
7374974 Marcil F Aug. 8, 2014, 9:16 a.m. OK GNU C++0x TESTS 20 46 307200 2000
2594962 betalife37 F Nov. 19, 2012, 4:36 p.m. OK GNU C++0x TESTS 21 46 1433600 2000
10255103 hakobyan.tigran F March 13, 2015, 8:20 a.m. OK GNU C++0x TESTS 20 46 41062400 2000
10240762 I_love_Hoang_Yen F March 11, 2015, 7:12 p.m. OK GNU C++0x TESTS 20 46 41062400 2000
3361784 skyshaw F March 20, 2013, 4:51 p.m. OK GNU C++0x TESTS 21 62 9728000 2000
9276073 tenshi_kanade F Dec. 26, 2014, 1:27 p.m. OK GNU C++0x TESTS 20 93 0 2000
2597325 135678942570 F Nov. 19, 2012, 5:09 p.m. OK GNU C++0x TESTS 21 156 126668800 2000
2594775 IbukiSuika F Nov. 19, 2012, 4:34 p.m. OK GNU C++0x TESTS 21 187 3072000 2000
20610852 First4196 SaBuZa boatt F Sept. 14, 2016, 9:54 a.m. OK GNU C++11 TESTS 20 15 0 2000
64790969 luogu_bot5 F Nov. 13, 2019, 11:11 a.m. OK GNU C++11 TESTS 20 15 5017600 2000
22104573 wqs F Nov. 8, 2016, 3:11 a.m. OK GNU C++11 TESTS 20 15 9932800 2000
22105860 lzr010506 F Nov. 8, 2016, 5:22 a.m. OK GNU C++11 TESTS 20 15 10137600 2000
11279268 dddxhh F May 26, 2015, 1:36 p.m. OK GNU C++11 TESTS 20 15 25088000 2000
15231260 Deemo F Jan. 8, 2016, 1:01 a.m. OK GNU C++11 TESTS 20 30 0 2000
18870010 pranjalr34 F July 3, 2016, 4:11 p.m. OK GNU C++11 TESTS 20 30 307200 2000
25836746 mynameischarlie F March 27, 2017, 11:16 a.m. OK GNU C++11 TESTS 20 30 2560000 2000
32108220 McGinn F Nov. 7, 2017, 1:35 a.m. OK GNU C++11 TESTS 20 30 5017600 2000
12843075 zxcvbbvcxz F Sept. 4, 2015, 4:27 p.m. OK GNU C++11 TESTS 20 30 25088000 2000
29352202 Dalgerok F Aug. 11, 2017, 12:04 p.m. OK GNU C++14 TESTS 20 30 6553600 2000
38650284 JessicaLee F May 27, 2018, 7:53 a.m. OK GNU C++14 TESTS 20 30 25088000 2000
47271382 vjudge5 F Dec. 19, 2018, 4:50 p.m. OK GNU C++14 TESTS 20 31 0 2000
21111324 lis F Oct. 2, 2016, 10:07 a.m. OK GNU C++14 TESTS 20 31 1945600 2000
32041580 gwq2017 F Nov. 4, 2017, 3:44 a.m. OK GNU C++14 TESTS 20 31 4505600 2000
31977050 libra9z F Nov. 2, 2017, 11:11 a.m. OK GNU C++14 TESTS 20 31 9011200 2000
31977002 libra9z F Nov. 2, 2017, 11:10 a.m. OK GNU C++14 TESTS 20 31 9011200 2000
38656325 JinTianHao F May 27, 2018, 1:35 p.m. OK GNU C++14 TESTS 20 31 20070400 2000
38650268 sjmartin F May 27, 2018, 7:52 a.m. OK GNU C++14 TESTS 20 31 25088000 2000
38650258 numberes F May 27, 2018, 7:51 a.m. OK GNU C++14 TESTS 20 31 25088000 2000
55551525 vjudge3 F June 14, 2019, 7:24 a.m. OK GNU C++17 TESTS 20 46 307200 2000
65667477 danilserov F Nov. 24, 2019, 2:31 p.m. OK GNU C++17 TESTS 20 46 5017600 2000
68684951 tnakao F Jan. 13, 2020, 2:37 a.m. OK GNU C++17 TESTS 20 46 6041600 2000
45058008 BlahDuckling747 F Oct. 29, 2018, 1:33 p.m. OK GNU C++17 TESTS 20 46 145510400 2000
38647855 sjc061031 F May 27, 2018, 5:36 a.m. OK GNU C++17 TESTS 20 77 146329600 2000
69679759 dorijanlendvaj F Jan. 28, 2020, 3:16 p.m. OK GNU C++17 TESTS 20 155 128409600 2000
45040482 luogu_bot4 F Oct. 29, 2018, 10:01 a.m. OK GNU C++17 TESTS 20 171 409600 2000
45419984 KLOPERDANEZ F Nov. 7, 2018, 4:38 p.m. OK GNU C++17 TESTS 20 171 4300800 2000
51090201 ruo F March 9, 2019, 2:13 p.m. OK GNU C++17 TESTS 20 171 5222400 2000
45040440 somebody_else F Oct. 29, 2018, 9:59 a.m. OK GNU C++17 TESTS 20 186 102400 2000
2597023 watashi F Nov. 19, 2012, 5:05 p.m. OK Haskell TESTS 21 78 12595200 2000
2601227 cojna F Nov. 19, 2012, 6:42 p.m. OK Haskell TESTS 21 125 12595200 2000
2601960 gh_ost F Nov. 19, 2012, 8:48 p.m. OK Java 6 TESTS 21 203 43212800 2000
2592195 uwi F Nov. 19, 2012, 4:04 p.m. OK Java 6 TESTS 21 265 13619200 2000
2596739 Sinner F Nov. 19, 2012, 5:01 p.m. OK Java 6 TESTS 21 343 54067200 2000
2591613 Egor F Nov. 19, 2012, 3:58 p.m. OK Java 6 TESTS 21 484 0 2000
2593876 mfv F Nov. 19, 2012, 4:22 p.m. OK Java 6 TESTS 21 578 43315200 2000
2597508 shavkat F Nov. 19, 2012, 5:11 p.m. OK Java 6 TESTS 21 656 43417600 2000
2599556 Ahmed_Salama F Nov. 19, 2012, 5:35 p.m. OK Java 6 TESTS 21 656 55500800 2000
2601214 Azat_Yusupov F Nov. 19, 2012, 6:41 p.m. OK Java 6 TESTS 21 687 170803200 2000
2603264 jonathanpaulson F Nov. 20, 2012, 5:58 a.m. OK Java 6 TESTS 21 703 204800 2000
2678852 problem-solved F Nov. 30, 2012, 4:54 a.m. OK Java 6 TESTS 21 718 204800 2000
12528746 I_Coached_Alex_R_Coleman F Aug. 14, 2015, 11:08 a.m. OK Java 7 TESTS 20 93 0 2000
7583841 upsolving F Aug. 26, 2014, 2:18 p.m. OK Java 7 TESTS 20 109 0 2000
7817182 miguel_palma F Sept. 17, 2014, 11:26 a.m. OK Java 7 TESTS 20 140 0 2000
2600844 niyaznigmatul F Nov. 19, 2012, 6:11 p.m. OK Java 7 TESTS 21 171 45056000 2000
12833642 gpita F Sept. 3, 2015, 7:39 p.m. OK Java 7 TESTS 20 187 0 2000
7816742 kylesky F Sept. 17, 2014, 10:27 a.m. OK Java 7 TESTS 20 187 921600 2000
2607215 Venom F Nov. 20, 2012, 6:31 p.m. OK Java 7 TESTS 21 218 9318400 2000
17472747 alibaba F April 23, 2016, 5:40 p.m. OK Java 7 TESTS 20 249 40448000 2000
2599562 S.Yesipenko F Nov. 19, 2012, 5:35 p.m. OK Java 7 TESTS 21 250 85299200 2000
2598624 khanhptnk F Nov. 19, 2012, 5:24 p.m. OK Java 7 TESTS 21 281 44953600 2000
27182352 pitfall F May 17, 2017, 3:03 p.m. OK Java 8 TESTS 20 202 0 2000
3363265 Nayils F March 21, 2013, 4:21 a.m. OK Mono C# TESTS 21 218 5632000 2000
2595786 it4.kp F Nov. 19, 2012, 4:47 p.m. OK Mono C# TESTS 21 421 13004800 2000
2602918 Sasa_0824 F Nov. 20, 2012, 4:04 a.m. OK Mono C# TESTS 21 531 20070400 2000
2595921 Ikki F Nov. 19, 2012, 4:49 p.m. OK Mono C# TESTS 21 1031 13619200 2000
2595429 fiver F Nov. 19, 2012, 4:43 p.m. OK Mono C# TESTS 21 1031 16179200 2000
4439337 marat.snowbear F Sept. 10, 2013, 2:09 p.m. OK MS C# TESTS 20 156 7065600 2000
28685799 vjudge5 F July 19, 2017, 6 a.m. OK MS C++ TESTS 20 15 7065600 2000
28698801 SmallSir F July 19, 2017, 2:23 p.m. OK MS C++ TESTS 20 15 7065600 2000
16686225 vjudge4 F March 13, 2016, 6:10 a.m. OK MS C++ TESTS 20 15 125235200 2000
16687344 vjudge3 F March 13, 2016, 7:39 a.m. OK MS C++ TESTS 20 30 5017600 2000
16688076 vjudge2 F March 13, 2016, 8:29 a.m. OK MS C++ TESTS 20 30 5324800 2000
16685020 vjudge5 F March 13, 2016, 4:53 a.m. OK MS C++ TESTS 20 30 30105600 2000
16685160 vjudge5 F March 13, 2016, 5:03 a.m. OK MS C++ TESTS 20 30 30105600 2000
16688958 vjudge2 F March 13, 2016, 9:23 a.m. OK MS C++ TESTS 20 30 40140800 2000
16686287 vjudge1 F March 13, 2016, 6:13 a.m. OK MS C++ TESTS 20 30 160358400 2000
7809120 szh123 F Sept. 16, 2014, 12:33 p.m. OK MS C++ TESTS 20 31 0 2000
2595772 wwared F Nov. 19, 2012, 4:47 p.m. OK Perl TESTS 21 562 1945600 2000
2595307 navi F Nov. 19, 2012, 4:41 p.m. OK Perl TESTS 21 1281 20070400 2000
21093974 mayakin F Oct. 1, 2016, 5:14 p.m. OK PHP TESTS 20 108 4300800 2000
44812013 omarnvidia F Oct. 24, 2018, 6:54 p.m. OK PyPy 3 TESTS 20 919 18432000 2000
44823389 omarnvidia F Oct. 25, 2018, 4:15 a.m. OK PyPy 3 TESTS 20 936 18432000 2000
44811996 omarnvidia F Oct. 24, 2018, 6:53 p.m. OK PyPy 3 TESTS 20 1185 11673600 2000
35854719 ______u______ F March 2, 2018, 7:47 p.m. OK Python 2 TESTS 20 217 5222400 2000
35854610 ______n______ F March 2, 2018, 7:45 p.m. OK Python 2 TESTS 20 217 5222400 2000
35854176 _____i_____ F March 2, 2018, 7:37 p.m. OK Python 2 TESTS 20 217 5222400 2000
35854157 _____k_____ F March 2, 2018, 7:37 p.m. OK Python 2 TESTS 20 217 5222400 2000
35843098 ______h______ F March 2, 2018, 3:06 p.m. OK Python 2 TESTS 20 217 5222400 2000
35842955 ______k______ F March 2, 2018, 3:03 p.m. OK Python 2 TESTS 20 217 5222400 2000
35842687 ______i______ F March 2, 2018, 2:58 p.m. OK Python 2 TESTS 20 217 5222400 2000
35840366 ______M______ F March 2, 2018, 2:15 p.m. OK Python 2 TESTS 20 217 5222400 2000
11270429 Amr_Hassan F May 25, 2015, 8:52 p.m. OK Python 2 TESTS 20 218 1740800 2000
2789821 wowo1gt F Dec. 18, 2012, 7:01 a.m. OK Python 2 TESTS 21 718 20275200 2000
27580159 Hankai F June 5, 2017, 10:04 a.m. OK Ruby TESTS 20 358 5734400 2000
35877861 0w1 F March 3, 2018, 10:07 a.m. OK Ruby TESTS 20 685 10240000 2000
27512397 ditsing F June 2, 2017, 12:22 a.m. OK Ruby TESTS 20 811 3276800 2000

remove filters

Back to search problems