Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listMay 29, 2022 16:33Keichi TakahashiKeichi TakahashiScore: 5,403Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2022 16:335,34842,511,47715,100,0002,013,0002,387,968
2May 29, 2022 16:335,36441,722,56816,157,0001,009,0002,392,064
3May 29, 2022 16:335,38438,854,76615,202,0002,026,0002,383,872
4May 29, 2022 16:335,39334,527,75416,242,0001,015,0002,392,064
5May 29, 2022 16:335,40139,691,51316,267,0001,016,0002,265,088
6May 29, 2022 16:335,40244,344,58715,254,0002,033,0002,265,088
7May 29, 2022 16:335,40344,554,25215,255,0002,034,0002,265,088
8May 29, 2022 16:335,41243,510,19315,281,0002,037,0002,527,232
9May 29, 2022 16:335,41634,287,66815,292,0002,039,0002,392,064
10May 29, 2022 16:335,59084,321,50917,889,12802,273,280
11May 29, 2022 16:335,59794,989,71217,910,08702,281,472
12May 29, 2022 16:335,74693,216,30918,387,28202,244,608