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 23, 2021 10:41Andrey TsvetkovAndrey TsvetkovScore: 5,723Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:415,69038,767,18115,174,0003,034,0002,326,528
2May 23, 2021 10:415,69238,324,96016,190,0002,023,0002,334,720
3May 23, 2021 10:415,71041,236,87816,241,0002,030,0002,531,328
4May 23, 2021 10:415,71345,218,76116,250,0002,031,0002,314,240
5May 23, 2021 10:415,71340,078,93416,250,0002,031,0002,535,424
6May 23, 2021 10:415,71744,893,92516,261,0002,032,0002,531,328
7May 23, 2021 10:415,72169,144,33118,308,24402,244,608
8May 23, 2021 10:415,72344,747,45615,260,0003,052,0002,334,720
9May 23, 2021 10:415,73548,464,32515,294,0003,058,0002,531,328
10May 23, 2021 10:415,74736,018,97915,326,0003,065,0002,334,720
11May 23, 2021 10:415,756101,414,56018,419,57102,236,416
12May 23, 2021 10:415,77680,774,65618,482,75902,232,320
13May 23, 2021 10:415,78192,492,57518,497,84402,244,608
14May 23, 2021 10:415,78662,463,61818,514,22702,232,320
15May 23, 2021 10:415,80569,617,49018,575,03102,228,224