2018-2019 ICPC, NEERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred)

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
1089 2018-2019 ICPC, NEERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 193791323 Dec. 2, 2018, 7:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 134 ) J JS Minification PROGRAMMING greedy implementation 3300

B"International Coding Procedures Company (ICPC) writes all its code in Jedi Script (JS) programming language. JS does not get compiled, but is delivered for execution in its source form. Sources contain comments, extra whitespace (including trailing and leading spaces), and other non-essential features that make them quite large but do not contribute to the semantics of the code, so the process of minification is performed on source files before their delivery to execution to compress sources while preserving their semantics. You are hired by ICPC to write JS minifier for ICPC. Fortunately, ICPC adheres to very strict programming practices and their JS sources are quite restricted in grammar. They work only on integer algorithms and do not use floating point numbers and strings. Every JS source contains a sequence of lines. Each line contains zero or more tokens that can be separated by spaces. On each line, a part of the line that starts with a hash character ('#' code 35), including the hash character itself, is treated as a comment and is ignored up to the end of the line. Each line is parsed into a sequence of tokens from left to right by repeatedly skipping spaces and finding the longest possible token starting at the current parsing position, thus transforming the source code into a sequence of tokens. All the possible tokens are listed below: Note, that during parsing the longest sequence of characters that satisfies either a number or a word definition, but that appears in the list of reserved tokens, is considered to be a reserved token instead. During the minification process words are renamed in a systematic fashion using the following algorithm: The goal of the minification process is to convert the given source to the shortest possible line (counting spaces) that still parses to the same sequence of tokens with the correspondingly renamed words using these JS parsing rules. The first line of the input contains a single integer n ( 0 "...

Tutorials

T

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
46851121 Tassle J Dec. 10, 2018, 12:20 p.m. OK GNU C++11 TESTS 43 31 512000 3300
46834803 Tassle J Dec. 10, 2018, 12:36 a.m. OK GNU C++11 TESTS 43 31 512000 3300
46834514 Tassle J Dec. 10, 2018, 12:06 a.m. OK GNU C++11 TESTS 43 31 1740800 3300
49115459 nhho J Jan. 28, 2019, 4:45 p.m. OK GNU C++11 TESTS 43 46 409600 3300
46952429 Lius J Dec. 12, 2018, 10:08 p.m. OK GNU C++11 TESTS 43 46 512000 3300
50517220 gonze J Feb. 26, 2019, 7:15 a.m. OK GNU C++11 TESTS 43 61 19456000 3300
46972887 mshcherba J Dec. 13, 2018, 2:50 p.m. OK GNU C++11 TESTS 43 77 1228800 3300
46974353 Nson J Dec. 13, 2018, 3:40 p.m. OK GNU C++11 TESTS 43 639 819200 3300
46524085 mipt.vi002 J Dec. 2, 2018, 7:52 p.m. OK GNU C++11 TESTS 43 748 31948800 3300
57734886 py_ultron J July 25, 2019, 9:39 a.m. OK GNU C++11 TESTS 43 1231 308940800 3300
49214052 krijgertje J Jan. 30, 2019, 4:34 p.m. OK GNU C++14 TESTS 43 30 2048000 3300
53382395 Benq J April 27, 2019, 12:32 a.m. OK GNU C++14 TESTS 43 31 409600 3300
66241116 JordiR cescmentation_folch metatron J Dec. 3, 2019, 6:12 p.m. OK GNU C++14 TESTS 43 31 1638400 3300
67126360 Motarack J Dec. 17, 2019, 8:19 p.m. OK GNU C++14 TESTS 43 31 1843200 3300
46647809 ultmaster J Dec. 5, 2018, 12:39 p.m. OK GNU C++14 TESTS 43 31 10035200 3300
46707019 apiadu J Dec. 7, 2018, 7:49 a.m. OK GNU C++14 TESTS 43 46 204800 3300
59643300 MarcosK J Aug. 29, 2019, 3:52 a.m. OK GNU C++14 TESTS 43 46 307200 3300
48598806 molamola. J Jan. 20, 2019, 7:24 a.m. OK GNU C++14 TESTS 43 78 1024000 3300
46576305 KeyID Phronesis 423555290 J Dec. 4, 2018, 8:53 a.m. OK GNU C++14 TESTS 43 78 1740800 3300
46697948 Nyatl J Dec. 6, 2018, 9:37 p.m. OK GNU C++14 TESTS 43 78 1843200 3300
51308698 Radewoosh I_love_chickpea Chameleon2460 J March 14, 2019, 6:08 p.m. OK GNU C++17 TESTS 43 31 307200 3300
46915368 kimden J Dec. 11, 2018, 7:54 p.m. OK GNU C++17 TESTS 43 31 307200 3300
46505839 SpyCheese 300iq Nebuchadnezzar J Dec. 2, 2018, 11:12 a.m. OK GNU C++17 TESTS 43 31 307200 3300
50467442 ericxu0 desert97 yum J Feb. 24, 2019, 8:45 p.m. OK GNU C++17 TESTS 43 31 409600 3300
48654594 ReaLNero1 J Jan. 21, 2019, 1:40 a.m. OK GNU C++17 TESTS 43 31 409600 3300
46524696 kvk1920 J Dec. 2, 2018, 8:18 p.m. OK GNU C++17 TESTS 43 31 409600 3300
69720800 gongsuidashen J Jan. 29, 2020, 10:34 a.m. OK GNU C++17 TESTS 43 46 409600 3300
58180847 maximumSHOT J Aug. 2, 2019, 3:07 p.m. OK GNU C++17 TESTS 43 46 409600 3300
46880327 SYury J Dec. 10, 2018, 7:21 p.m. OK GNU C++17 TESTS 43 78 125849600 3300
50100479 gepardo J Feb. 18, 2019, 2:41 p.m. OK GNU C++17 TESTS 43 93 409600 3300
64905296 golikovnik J Nov. 14, 2019, 9:19 p.m. OK Java 8 TESTS 43 202 819200 3300
46504386 eatmore J Dec. 2, 2018, 10:49 a.m. OK Java 8 TESTS 43 295 0 3300
46723208 MicGor Anadi yarek J Dec. 7, 2018, 1:55 p.m. OK PyPy 3 TESTS 43 280 7168000 3300
46654864 Jatana voidmax Aleksandr2754 J Dec. 5, 2018, 3:46 p.m. OK PyPy 3 TESTS 43 639 27955200 3300
51339359 xman1024 J March 15, 2019, 3:34 p.m. OK Python 3 TESTS 43 124 409600 3300
48045842 xyz111 ksun48 ecnerwala J Jan. 7, 2019, 2:44 a.m. OK Python 3 TESTS 43 342 307200 3300
46712474 J Dec. 7, 2018, 9:06 a.m. OK Unknown TESTS 0 0 0 3300
46711731 J Dec. 7, 2018, 9:06 a.m. OK Unknown TESTS 0 0 0 3300
46711502 J Dec. 7, 2018, 9:06 a.m. OK Unknown TESTS 0 0 0 3300
46711444 J Dec. 7, 2018, 9:06 a.m. OK Unknown TESTS 0 0 0 3300
46711139 J Dec. 7, 2018, 9:06 a.m. OK Unknown TESTS 0 0 0 3300

remove filters

Back to search problems