Helvetic Coding Contest 2017 online mirror (teams allowed, unrated)

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
802 Helvetic Coding Contest 2017 online mirror (teams allowed, unrated) FINISHED False 16200 241221263 May 28, 2017, 8:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1583 ) I Fake News (hard) PROGRAMMING string suffix structures 2400

B'Now that you have proposed a fake post for the HC2 Facebook page, Heidi wants to measure the quality of the post before actually posting it. She recently came across a (possibly fake) article about the impact of fractal structure on multimedia messages and she is now trying to measure the self-similarity of the message, which is defined as where the sum is over all nonempty strings p and is the number of occurences of p in s as a substring. (Note that the sum is infinite, but it only has a finite number of nonzero summands.) Heidi refuses to do anything else until she knows how to calculate this self-similarity. Could you please help her? (If you would like to instead convince Heidi that a finite string cannot be a fractal anyway xe2 x80 x93 do not bother, we have already tried.) The input starts with a line indicating the number of test cases T (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89T xe2 x80 x89 xe2 x89 xa4 xe2 x80 x8910). After that, T test cases follow, each of which consists of one line containing a string s (1 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89|s| xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89100 xe2 x80 x89000) composed of lowercase letters (a-z). Output T lines, every line containing one number xe2 x80 x93 the answer to the corresponding test case. A string s contains another string p as a substring if p is a contiguous subsequence of s. For example, ab is a substring of cab but not of acb. '...

Tutorials

helvetic-coding-contest-2017-editorial.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
27409462 sigma425 sugim48 yosupo I May 28, 2017, 10:35 a.m. OK D TESTS 16 1762 45260800 2400
29717938 yosupo I Aug. 23, 2017, 9:46 p.m. OK D TESTS 16 3588 45260800 2400
28476817 Sanja I July 12, 2017, 2:25 p.m. OK FPC TESTS 16 358 6451200 2400
28476733 Sanja I July 12, 2017, 2:22 p.m. OK FPC TESTS 16 358 6451200 2400
28476834 Sanja I July 12, 2017, 2:26 p.m. OK FPC TESTS 16 358 6860800 2400
28479249 NikNag I July 12, 2017, 4:29 p.m. OK FPC TESTS 16 467 15667200 2400
28479197 NikNag I July 12, 2017, 4:27 p.m. OK FPC TESTS 16 467 15667200 2400
31331720 NikNag I Oct. 15, 2017, 7:15 a.m. OK FPC TESTS 16 545 14540800 2400
27680136 logarithm I June 8, 2017, 11:52 p.m. OK GNU C TESTS 16 327 36864000 2400
35913337 feodorv I March 4, 2018, 8:45 a.m. OK GNU C TESTS 16 436 35020800 2400
27408922 black_horse2014 I May 28, 2017, 10:18 a.m. OK GNU C++ TESTS 16 156 27852800 2400
27422266 zyding I May 29, 2017, 2:46 a.m. OK GNU C++ TESTS 16 171 26624000 2400
40372332 __stdcall I July 15, 2018, 8:51 a.m. OK GNU C++ TESTS 16 217 28467200 2400
38110970 zhouzhendong I May 11, 2018, 10:20 a.m. OK GNU C++ TESTS 16 233 6758400 2400
34801329 _O.O_ I Feb. 1, 2018, 12:03 p.m. OK GNU C++ TESTS 16 249 4608000 2400
27406111 hzt1 I May 28, 2017, 9:02 a.m. OK GNU C++ TESTS 16 249 38809600 2400
42199281 luogu_bot1 I Aug. 28, 2018, 8:01 a.m. OK GNU C++ TESTS 16 264 2969600 2400
27410268 Random_chen Hazyknight _HYX_ I May 28, 2017, 11:02 a.m. OK GNU C++ TESTS 16 280 29081600 2400
27534304 Talon_F I June 3, 2017, 2:40 a.m. OK GNU C++ TESTS 16 280 29696000 2400
27448786 _LowestJN I May 30, 2017, 1:12 p.m. OK GNU C++ TESTS 16 295 137318400 2400
49491373 Chenqiqian I Feb. 5, 2019, 10:06 a.m. OK GNU C++11 TESTS 16 124 26316800 2400
58148992 Smaug2333 I Aug. 2, 2019, 1:09 a.m. OK GNU C++11 TESTS 16 139 25088000 2400
58148889 wcrkonjac I Aug. 2, 2019, 1:04 a.m. OK GNU C++11 TESTS 16 139 25088000 2400
45901184 Forever_you I Nov. 18, 2018, 4:57 a.m. OK GNU C++11 TESTS 16 140 24985600 2400
40077339 Big_black_jujube I July 8, 2018, 6:34 a.m. OK GNU C++11 TESTS 16 140 25088000 2400
49491343 Chenqiqian I Feb. 5, 2019, 10:04 a.m. OK GNU C++11 TESTS 16 140 26316800 2400
46971927 Daniel_Yeh I Dec. 13, 2018, 2:18 p.m. OK GNU C++11 TESTS 16 155 24883200 2400
69902361 vjudge2 I Jan. 31, 2020, 1:19 p.m. OK GNU C++11 TESTS 16 155 100044800 2400
39762445 C76 I June 29, 2018, 8:16 a.m. OK GNU C++11 TESTS 16 156 28569600 2400
27576718 dozbear I June 5, 2017, 6:14 a.m. OK GNU C++11 TESTS 16 156 37580800 2400
40981614 ReaLNero1 I July 30, 2018, 6:04 p.m. OK GNU C++14 TESTS 16 140 9113600 2400
28705833 -Morass- I July 19, 2017, 10:07 p.m. OK GNU C++14 TESTS 16 140 11059200 2400
27660547 I_Love_Umirzhanova_Amina I June 8, 2017, 12:28 a.m. OK GNU C++14 TESTS 16 140 25088000 2400
27623479 WuHongxun jiaqiyang I June 7, 2017, 1:06 a.m. OK GNU C++14 TESTS 16 155 25088000 2400
52887823 walht I April 17, 2019, 6:23 a.m. OK GNU C++14 TESTS 16 155 25190400 2400
47270592 calabash_boy I Dec. 19, 2018, 4:27 p.m. OK GNU C++14 TESTS 16 155 62361600 2400
40981052 ReaLNero1 I July 30, 2018, 5:49 p.m. OK GNU C++14 TESTS 16 156 25088000 2400
27660611 RNS_JKS I June 8, 2017, 12:36 a.m. OK GNU C++14 TESTS 16 156 25088000 2400
27660375 RNS_JKS I June 8, 2017, 12:12 a.m. OK GNU C++14 TESTS 16 156 25088000 2400
68106850 Xing_Ling I Jan. 3, 2020, 7:33 a.m. OK GNU C++14 TESTS 16 171 28364800 2400
62664618 Ycircle I Oct. 16, 2019, 7:13 a.m. OK GNU C++17 TESTS 16 156 24985600 2400
66209318 vjudge2 I Dec. 3, 2019, 5:45 a.m. OK GNU C++17 TESTS 16 171 28774400 2400
66209284 Lower_Rating I Dec. 3, 2019, 5:44 a.m. OK GNU C++17 TESTS 16 171 28774400 2400
59513231 Againstmoon I Aug. 26, 2019, 8:44 a.m. OK GNU C++17 TESTS 16 234 59904000 2400
39811538 Silly_Bee I July 1, 2018, 3:45 a.m. OK GNU C++17 TESTS 16 295 33280000 2400
52656565 Edvard I April 12, 2019, 7:14 p.m. OK GNU C++17 TESTS 16 295 54681600 2400
68995967 Feechka_ I Jan. 17, 2020, 5:24 p.m. OK GNU C++17 TESTS 16 296 38809600 2400
68456637 WA_King I Jan. 9, 2020, 4:29 p.m. OK GNU C++17 TESTS 16 312 16998400 2400
50082284 vjudge3 I Feb. 18, 2019, 5:12 a.m. OK GNU C++17 TESTS 16 327 4915200 2400
66583637 satvik007 I Dec. 10, 2019, 10:21 a.m. OK GNU C++17 TESTS 16 343 4403200 2400
57600934 Ahmed_Diab I July 23, 2019, 3:46 p.m. OK Java 8 TESTS 16 670 42905600 2400
57601018 Ahmed_Diab I July 23, 2019, 3:48 p.m. OK Java 8 TESTS 16 717 43008000 2400
47239107 BiIIy I Dec. 18, 2018, 11:17 p.m. OK Java 8 TESTS 16 748 84377600 2400
54264043 luogu_bot3 I May 17, 2019, 4:32 a.m. OK Java 8 TESTS 16 1793 57139200 2400
46578610 qiyue I Dec. 4, 2018, 10:09 a.m. OK Java 8 TESTS 16 2792 46182400 2400
59979108 aminul I Sept. 4, 2019, 7:25 a.m. OK Java 8 TESTS 16 3041 7372800 2400
59978833 aminul I Sept. 4, 2019, 7:18 a.m. OK Java 8 TESTS 16 3166 5734400 2400
59978998 aminul I Sept. 4, 2019, 7:23 a.m. OK Java 8 TESTS 16 3197 5632000 2400
59978801 vjudge4 I Sept. 4, 2019, 7:18 a.m. OK Java 8 TESTS 16 3229 5734400 2400
59978906 aminul I Sept. 4, 2019, 7:20 a.m. OK Java 8 TESTS 16 3291 5734400 2400

remove filters

Back to search problems