Educational Codeforces Round 64 (Rated for Div. 2)

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
1156 Educational Codeforces Round 64 (Rated for Div. 2) FINISHED False 7200 175101899 May 1, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 132 ) G Optimizer PROGRAMMING graphs greedy hashing implementation 3100

B"Let's analyze a program written on some strange programming language. The variables in this language have names consisting of 1 to 4 characters, and each character is a lowercase or an uppercase Latin letter, or a digit. There is an extra constraint that the first character should not be a digit. There are four types of operations in the program, each denoted by one of the characters: $, ^, # or &. Each line of the program has one of the following formats: The program is executed line-by-line, and the result of execution is stored in a variable having the name res. If res is never assigned in the program, then the result will be equal to the value of res before running the program. Two programs are called equivalent if no matter which operations do characters $, ^, # and & denote (but, obviously, performing the same operation on the same arguments gives the same result) and which values do variables have before execution of program, the value of res after running the first program is equal to the value of res after running the second program (the programs are executed independently). You are given a program consisting of n lines. Your task is to write a program consisting of minimum possible number of lines that is equivalent to the program you are given. The first line contains one integer n ( 1 <= n <= 1000 ) -- the number of lines in the program. Then n lines follow -- the program itself. Each line corresponds to the format described in the statement and has no extra whitespaces. In the first line print k -- the minimum number of lines in the equivalent program. Then print k lines without any whitespaces -- an equivalent program having exactly k lines, in the same format it is described in the statement. "...

Tutorials

66827

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
60323713 code_struck G Sept. 9, 2019, 10:34 p.m. OK GNU C++11 TESTS 24 31 614400 3100
54000367 yum G May 11, 2019, 4:18 p.m. OK GNU C++11 TESTS 24 31 614400 3100
63369863 WrongAnswer67 G Oct. 25, 2019, 8:57 a.m. OK GNU C++11 TESTS 24 31 716800 3100
53789143 _twilight G May 5, 2019, 11:52 a.m. OK GNU C++11 TESTS 24 31 716800 3100
53703979 comzyh G May 3, 2019, 12:14 p.m. OK GNU C++11 TESTS 24 31 716800 3100
53687885 LLL_2820 G May 3, 2019, 2:32 a.m. OK GNU C++11 TESTS 24 31 716800 3100
53659024 Rubbish12345 G May 2, 2019, 6:39 a.m. OK GNU C++11 TESTS 24 31 921600 3100
54020589 danya090699 G May 12, 2019, 9:29 a.m. OK GNU C++11 TESTS 24 31 1126400 3100
55739709 luogu_bot1 G June 19, 2019, 6:46 a.m. OK GNU C++11 TESTS 24 31 2048000 3100
55739297 wucstdio G June 19, 2019, 6:33 a.m. OK GNU C++11 TESTS 24 31 2048000 3100
53650618 m4h G May 2, 2019, 12:31 a.m. OK GNU C++14 TESTS 24 15 614400 3100
53635130 step_by_step G May 1, 2019, 3:57 p.m. OK GNU C++14 TESTS 24 15 819200 3100
53656685 atoiz G May 2, 2019, 5:19 a.m. OK GNU C++14 TESTS 24 15 262758400 3100
53643379 ihdignite G May 1, 2019, 5:33 p.m. OK GNU C++14 TESTS 24 30 716800 3100
53877202 cheissmart G May 8, 2019, 12:37 p.m. OK GNU C++14 TESTS 24 30 921600 3100
53963095 bhargav_0085 G May 10, 2019, 3:18 p.m. OK GNU C++14 TESTS 24 30 1024000 3100
53893317 Benq G May 9, 2019, 3:06 a.m. OK GNU C++14 TESTS 24 30 1126400 3100
53725972 kmjp G May 4, 2019, 4:20 a.m. OK GNU C++14 TESTS 24 31 614400 3100
53647740 rainboy G May 1, 2019, 8:25 p.m. OK GNU C++14 TESTS 24 31 614400 3100
53639851 SuperSodaSea G May 1, 2019, 4:32 p.m. OK GNU C++14 TESTS 24 31 614400 3100
53654350 Lrztxdy G May 2, 2019, 3:37 a.m. OK GNU C++17 TESTS 24 15 819200 3100
53642395 Elegia G May 1, 2019, 5:09 p.m. OK GNU C++17 TESTS 24 15 819200 3100
53668086 vjudge1 G May 2, 2019, 11:41 a.m. OK GNU C++17 TESTS 24 15 921600 3100
53842172 zjsdut G May 7, 2019, 8:16 a.m. OK GNU C++17 TESTS 24 15 1024000 3100
53841557 zjsdut G May 7, 2019, 7:50 a.m. OK GNU C++17 TESTS 24 15 133939200 3100
53712039 TemoMagari G May 3, 2019, 4:09 p.m. OK GNU C++17 TESTS 24 30 716800 3100
55610983 ReaLNero1 G June 16, 2019, 5:42 a.m. OK GNU C++17 TESTS 24 30 819200 3100
54890452 Shayan.P G May 31, 2019, 7:57 p.m. OK GNU C++17 TESTS 24 30 921600 3100
53667595 ---------- G May 2, 2019, 11:25 a.m. OK GNU C++17 TESTS 24 30 7782400 3100
53804221 ivan100sic G May 5, 2019, 10:04 p.m. OK GNU C++17 TESTS 24 31 819200 3100
53644962 Dukkha G May 1, 2019, 6:23 p.m. OK Java 8 TESTS 24 155 0 3100
53684910 daifei4321 G May 2, 2019, 11:14 p.m. OK Java 8 TESTS 24 202 0 3100
53657446 dalt G May 2, 2019, 5:45 a.m. OK Java 8 TESTS 24 312 60108800 3100
55834550 tmwilliamlin168 G June 20, 2019, 2:42 p.m. OK Java 8 TESTS 24 327 60108800 3100
53713958 Helli.code G May 3, 2019, 5:35 p.m. OK Python 2 TESTS 24 202 1331200 3100
53649364 Ezys G May 1, 2019, 10:29 p.m. OK Python 3 TESTS 24 155 1331200 3100
54543935 vincent163 G May 24, 2019, 4:47 a.m. OK Rust TESTS 24 31 409600 3100

remove filters

Back to search problems