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 11, 2021 22:01Yuriy LyfenkoYuriy LyfenkoScore: 5,705Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 22:015,66434,934,36316,111,0002,013,0002,392,064
2May 11, 2021 22:015,67751,479,64816,147,0002,018,0002,523,136
3May 11, 2021 22:015,67842,441,76016,152,0002,019,0002,392,064
4May 11, 2021 22:015,68838,501,61716,178,0002,022,0002,383,872
5May 11, 2021 22:015,69338,438,93916,193,0002,024,0002,502,656
6May 11, 2021 22:015,69950,115,51617,223,0001,013,0002,523,136
7May 11, 2021 22:015,70548,223,33016,227,0002,028,0002,400,256
8May 11, 2021 22:015,71447,759,66116,253,0002,031,0002,387,968
9May 11, 2021 22:015,73347,984,33316,309,0002,038,0002,387,968
10May 11, 2021 22:015,91088,820,44818,911,52202,281,472
11May 11, 2021 22:015,92985,293,32218,973,21502,269,184
12May 11, 2021 22:015,97584,007,13519,121,22502,277,376