Helvetic Coding Contest 2019 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
1184 Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) FINISHED False 16200 169340099 July 7, 2019, 7:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1000 ) A2 Heidi Learns Hashing (Medium) PROGRAMMING brute force number theory 2100

B'After learning about polynomial hashing, Heidi decided to learn about shift-xor hashing. In particular, she came across this interesting problem. Given a bitstring y in {0,1 }^n find out the number of different k ( 0 <= q k < n ) such that there exists x in {0,1 }^n for which y = x oplus mbox{shift}^k(x). In the above, oplus is the xor operation and mbox{shift}^k is the operation of shifting a bitstring cyclically to the right k times. For example, 001 oplus 111 = 110 and mbox{shift}^3(00010010111000) = 00000010010111 . The first line contains an integer n ( 1 <= q n <= q 2 cdot 10^5 ), the length of the bitstring y . The second line contains the bitstring y . Output a single integer: the number of suitable values of k . In the first example: There is no x such that x oplus x = 1010 , hence the answer is 3 . '...

Tutorials

helvetic-coding-contest-2019-editorial.pdf

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
56649684 hos.lyric maroonrk A2 July 7, 2019, 7:31 a.m. OK D TESTS 43 109 4198400 2100
60421638 RNS_MHB A2 Sept. 12, 2019, 6:21 a.m. OK GNU C++11 TESTS 43 31 1843200 2100
56661208 just_soso crawarb A2 July 7, 2019, 9:56 a.m. OK GNU C++11 TESTS 43 31 1843200 2100
57011193 puhaoyicheng_2008 A2 July 14, 2019, 9:21 a.m. OK GNU C++11 TESTS 43 46 204800 2100
56650304 emostatus A2 July 7, 2019, 7:37 a.m. OK GNU C++11 TESTS 43 46 204800 2100
56647849 Panole233 _Happy_New_Year_ snowflake A2 July 7, 2019, 7:17 a.m. OK GNU C++11 TESTS 43 46 409600 2100
64289181 rausen A2 Nov. 5, 2019, 6:18 a.m. OK GNU C++11 TESTS 43 46 819200 2100
60708361 LittleBeetle A2 Sept. 17, 2019, 6:44 a.m. OK GNU C++11 TESTS 43 46 819200 2100
68593289 wasa855 A2 Jan. 11, 2020, 1:18 p.m. OK GNU C++11 TESTS 43 46 1024000 2100
56863385 Big_black_jujube A2 July 12, 2019, 1:20 a.m. OK GNU C++11 TESTS 43 46 1024000 2100
56789110 2016wudi A2 July 10, 2019, 9:45 a.m. OK GNU C++11 TESTS 43 46 1024000 2100
57164698 m4h A2 July 16, 2019, 9:28 p.m. OK GNU C++14 TESTS 43 46 307200 2100
56654074 krijgertje A2 July 7, 2019, 8:16 a.m. OK GNU C++14 TESTS 43 46 307200 2100
59791320 Ice_Cream A2 Aug. 31, 2019, 7:15 a.m. OK GNU C++14 TESTS 43 46 409600 2100
57152734 beginend A2 July 16, 2019, 3:27 p.m. OK GNU C++14 TESTS 43 46 409600 2100
58043539 tanmay2625 A2 July 30, 2019, 9:08 p.m. OK GNU C++14 TESTS 43 46 716800 2100
56867375 6aren A2 July 12, 2019, 4:07 a.m. OK GNU C++14 TESTS 43 46 716800 2100
56675625 MegaOwIer A2 July 7, 2019, 3:21 p.m. OK GNU C++14 TESTS 43 46 716800 2100
56664215 intersection.pro Dword 0442A403 A2 July 7, 2019, 10:47 a.m. OK GNU C++14 TESTS 43 46 716800 2100
56656251 donbasta m.hasan01 moondemon68 A2 July 7, 2019, 8:42 a.m. OK GNU C++14 TESTS 43 46 716800 2100
67279780 vjudge5 A2 Dec. 20, 2019, 12:47 p.m. OK GNU C++14 TESTS 43 46 1024000 2100
56664887 mmh bdzxt zhushaoben A2 July 7, 2019, 10:57 a.m. OK GNU C++17 TESTS 43 31 1024000 2100
56666723 mapleleaves A2 July 7, 2019, 11:24 a.m. OK GNU C++17 TESTS 43 31 1843200 2100
56658369 jah_melon A2 July 7, 2019, 9:11 a.m. OK GNU C++17 TESTS 43 31 2150400 2100
56648189 Um_nik A2 July 7, 2019, 7:19 a.m. OK GNU C++17 TESTS 43 46 204800 2100
56852891 scew_ru A2 July 11, 2019, 4:39 p.m. OK GNU C++17 TESTS 43 46 409600 2100
57823374 introibo A2 July 27, 2019, 1:23 a.m. OK GNU C++17 TESTS 43 46 512000 2100
57118319 ivan100sic A2 July 15, 2019, 10:06 p.m. OK GNU C++17 TESTS 43 46 512000 2100
56651341 dorijanlendvaj tmwilliamlin168 A2 July 7, 2019, 7:47 a.m. OK GNU C++17 TESTS 43 46 512000 2100
56666442 final_child kyaryunha shiftpsh A2 July 7, 2019, 11:20 a.m. OK GNU C++17 TESTS 43 46 614400 2100
56675392 z3r0dmg A2 July 7, 2019, 3:14 p.m. OK GNU C++17 TESTS 43 46 716800 2100
56676125 sameep17264 A2 July 7, 2019, 3:37 p.m. OK Java 8 TESTS 43 140 0 2100
61387864 yaoct A2 Sept. 27, 2019, 7:53 p.m. OK Java 8 TESTS 43 155 0 2100
60501443 armking A2 Sept. 13, 2019, 6:55 p.m. OK Java 8 TESTS 43 155 0 2100
56820508 yhchang3 Suzukaze A2 July 10, 2019, 11:26 p.m. OK Java 8 TESTS 43 156 0 2100
56755317 Washoum A2 July 9, 2019, 1:37 p.m. OK Java 8 TESTS 43 171 0 2100
56655329 Jeel_Vaishnav Ashishgup A2 July 7, 2019, 8:32 a.m. OK Java 8 TESTS 43 202 0 2100
56656611 insert_cool_handle A2 July 7, 2019, 8:47 a.m. OK Java 8 TESTS 43 218 0 2100
56649810 aryanc403 Slow_But_Determined Taran_1407 A2 July 7, 2019, 7:32 a.m. OK Java 8 TESTS 43 218 0 2100
58881208 AmmarKayaliite A2 Aug. 15, 2019, 9:17 p.m. OK Java 8 TESTS 43 280 0 2100
56713964 Ad-007 A2 July 8, 2019, 1:49 p.m. OK Java 8 TESTS 43 311 0 2100
56671768 xsc A2 July 7, 2019, 1:26 p.m. OK MS C++ 2017 TESTS 43 62 2150400 2100
56657356 meooow algmyr pajenegod A2 July 7, 2019, 8:57 a.m. OK PyPy 2 TESTS 43 311 7884800 2100
58923952 Helli.code A2 Aug. 16, 2019, 6:28 p.m. OK PyPy 2 TESTS 43 312 7884800 2100
56682353 Yads A2 July 7, 2019, 7:22 p.m. OK PyPy 3 TESTS 43 421 14131200 2100
56682154 Larix A2 July 7, 2019, 7:12 p.m. OK PyPy 3 TESTS 43 421 14438400 2100
64603747 ahto A2 Nov. 9, 2019, 7:30 p.m. OK PyPy 3 TESTS 43 436 3788800 2100
64603693 ahto A2 Nov. 9, 2019, 7:28 p.m. OK PyPy 3 TESTS 43 607 9011200 2100
67030522 lyrenez A2 Dec. 16, 2019, 3:43 p.m. OK PyPy 3 TESTS 43 1575 10035200 2100

remove filters

Back to search problems