Russian Code Cup 2017 - Finals [Unofficial Mirror, Div. 1 Only Recommended, Teams Allowed]

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
856 Russian Code Cup 2017 - Finals [Unofficial Mirror, Div. 1 Only Recommended, Teams Allowed] FINISHED False 10800 226772699 Sept. 10, 2017, 1:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 513 ) B Similar Words PROGRAMMING dp strings 2300

B"Let us call a non-empty sequence of lowercase English letters a word. Prefix of a word x is a word y that can be obtained from x by removing zero or more last letters of x. Let us call two words similar, if one of them can be obtained from the other by removing its first letter. You are given a set S of words. Find the maximal possible size of set of non-empty words X such that they satisfy the following: Input data contains multiple test cases. The first line of the input data contains an integer t -- the number of test cases. The descriptions of test cases follow. The first line of each description contains an integer n -- the number of words in the set S (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89106). Each of the following n lines contains one non-empty word -- elements of S. All words in S are different. It is guaranteed that the total length of all words in one input data doesn't exceed 106. For each test case print one line that contains one integer m -- the maximal number of words that X can contain. "...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
30327154 Faimerth B Sept. 14, 2017, 11:52 a.m. OK GNU C TESTS 9 171 167424000 2300
35664999 Q612 B Feb. 25, 2018, 12:47 a.m. OK GNU C++ TESTS 9 93 123392000 2300
37874944 xuqijie B May 4, 2018, 4:43 a.m. OK GNU C++ TESTS 9 108 159846400 2300
30281455 imone __stdcall B Sept. 12, 2017, 8:28 a.m. OK GNU C++ TESTS 9 109 271462400 2300
30287509 __stdcall B Sept. 12, 2017, 1:28 p.m. OK GNU C++ TESTS 9 109 274432000 2300
35777820 wdyhy B Feb. 28, 2018, 7:57 a.m. OK GNU C++ TESTS 9 139 147353600 2300
30298766 SeventeenYears B Sept. 13, 2017, 4:03 a.m. OK GNU C++ TESTS 9 155 263168000 2300
30308577 zyb B Sept. 13, 2017, 1:48 p.m. OK GNU C++ TESTS 9 171 137113600 2300
30308513 000000 B Sept. 13, 2017, 1:45 p.m. OK GNU C++ TESTS 9 171 137113600 2300
30551358 shanquan2 B Sept. 20, 2017, 3:57 p.m. OK GNU C++ TESTS 9 171 137318400 2300
35764646 wdyhy B Feb. 27, 2018, 1:58 p.m. OK GNU C++ TESTS 9 171 139161600 2300
30251245 ditoly ACMLCZH FallDream B Sept. 10, 2017, 4:20 p.m. OK GNU C++11 TESTS 9 78 129228800 2300
33228521 Joker1010123 B Dec. 14, 2017, 2:51 a.m. OK GNU C++11 TESTS 9 78 131481600 2300
30258985 rnsiehemt B Sept. 11, 2017, 4:55 a.m. OK GNU C++11 TESTS 9 93 127180800 2300
30376805 jhdjames37 B Sept. 16, 2017, 5:43 a.m. OK GNU C++11 TESTS 9 93 155648000 2300
30660961 deep_learning B Sept. 24, 2017, 9:07 a.m. OK GNU C++11 TESTS 9 93 239513600 2300
30776974 zhangzy B Sept. 27, 2017, 12:42 p.m. OK GNU C++11 TESTS 9 108 137625600 2300
31968448 vjudge3 B Nov. 2, 2017, 5:16 a.m. OK GNU C++11 TESTS 9 108 164044800 2300
30247880 liyang21 B Sept. 10, 2017, 2:28 p.m. OK GNU C++11 TESTS 9 108 164044800 2300
67156276 vjudge1 B Dec. 18, 2019, 12:36 p.m. OK GNU C++11 TESTS 9 108 180838400 2300
30322159 BinONE B Sept. 14, 2017, 7:35 a.m. OK GNU C++11 TESTS 9 124 129331200 2300
30267615 mengrao B Sept. 11, 2017, 2:15 p.m. OK GNU C++14 TESTS 9 77 122368000 2300
30249337 please_delete_account B Sept. 10, 2017, 3:11 p.m. OK GNU C++14 TESTS 9 78 128307200 2300
40979816 ReaLNero1 B July 30, 2018, 5:15 p.m. OK GNU C++14 TESTS 9 93 122368000 2300
30277161 shiyilang B Sept. 12, 2017, 2:54 a.m. OK GNU C++14 TESTS 9 93 137420800 2300
34284563 qoo2p5 B Jan. 18, 2018, 7:07 p.m. OK GNU C++14 TESTS 9 93 155750400 2300
30248502 Neumann B Sept. 10, 2017, 2:47 p.m. OK GNU C++14 TESTS 9 93 161075200 2300
34282911 qoo2p5 B Jan. 18, 2018, 5:50 p.m. OK GNU C++14 TESTS 9 93 163737600 2300
30260359 abhinavaggarwal B Sept. 11, 2017, 6:58 a.m. OK GNU C++14 TESTS 9 108 163020800 2300
30247602 VladaMG98 ivan100sic B Sept. 10, 2017, 2:19 p.m. OK GNU C++14 TESTS 9 109 145715200 2300
32059638 ainta B Nov. 4, 2017, 5:28 p.m. OK GNU C++14 TESTS 9 109 156262400 2300
55649269 hjk1030 B June 16, 2019, 1:44 p.m. OK GNU C++17 TESTS 9 109 132198400 2300
61335952 chuducanhchy B Sept. 26, 2019, 4:25 p.m. OK GNU C++17 TESTS 9 171 138444800 2300
42406336 vjudge2 B Sept. 2, 2018, 7:52 p.m. OK GNU C++17 TESTS 9 171 139366400 2300
50991915 chinmay0906 B March 7, 2019, 11:27 p.m. OK GNU C++17 TESTS 9 171 318771200 2300
48469130 markotee B Jan. 16, 2019, 6:57 p.m. OK GNU C++17 TESTS 9 202 139673600 2300
57915798 walnutwaldo20 B July 29, 2019, 1:11 a.m. OK GNU C++17 TESTS 9 202 141004800 2300
64536571 wqs B Nov. 8, 2019, 5:10 p.m. OK GNU C++17 TESTS 9 218 164044800 2300
64535732 wqs B Nov. 8, 2019, 4:55 p.m. OK GNU C++17 TESTS 9 218 164044800 2300
67180227 Phortox B Dec. 18, 2019, 10:12 p.m. OK GNU C++17 TESTS 9 233 314060800 2300
51615052 Hipo_3412 B March 21, 2019, 12:07 p.m. OK GNU C++17 TESTS 9 264 161382400 2300
30269502 Musin B Sept. 11, 2017, 3:58 p.m. OK Java 8 TESTS 9 639 86630400 2300
30247810 mmaxio B Sept. 10, 2017, 2:25 p.m. OK Java 8 TESTS 9 732 343142400 2300
36292389 dalt B March 15, 2018, 7:22 a.m. OK Java 8 TESTS 9 1028 403968000 2300
36292397 dalt B March 15, 2018, 7:22 a.m. OK Java 8 TESTS 9 1060 400486400 2300
36727637 Noureldin B March 29, 2018, 5:08 p.m. OK Java 8 TESTS 9 1107 273920000 2300
32416433 JShinjuro B Nov. 17, 2017, 11:38 p.m. OK Java 8 TESTS 9 1559 482406400 2300
30293849 I_Need_Alex_R_Coleman B Sept. 12, 2017, 6:58 p.m. OK Java 8 TESTS 9 1684 482304000 2300
30250542 Omar_Morsi Ahmad_Elsagheer Kammola B Sept. 10, 2017, 3:52 p.m. OK Java 8 TESTS 9 1933 226508800 2300
30299547 jport B Sept. 13, 2017, 5:31 a.m. OK Java 8 TESTS 9 1950 232652800 2300
30251094 Borisp B Sept. 10, 2017, 4:14 p.m. OK MS C++ TESTS 9 748 34611200 2300

remove filters

Back to search problems