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 15, 2021 23:49Yuriy LyfenkoYuriy LyfenkoScore: 5,685Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 23:495,64142,962,97617,050,0001,002,0002,260,992
2May 15, 2021 23:495,64848,114,87716,065,0002,008,0002,396,160
3May 15, 2021 23:495,65048,716,94317,075,0001,004,0002,260,992
4May 15, 2021 23:495,65748,957,29715,086,0003,017,0002,260,992
5May 15, 2021 23:495,67643,826,70116,144,0002,018,0002,392,064
6May 15, 2021 23:495,68247,076,81216,162,0002,020,0002,396,160
7May 15, 2021 23:495,68546,898,29916,170,0002,021,0002,392,064
8May 15, 2021 23:495,69450,829,40716,197,0002,024,0002,523,136
9May 15, 2021 23:495,69646,874,58815,189,0003,037,0002,260,992
10May 15, 2021 23:496,14556,929,06019,665,10902,273,280
11May 15, 2021 23:496,15182,343,71719,681,92502,285,568
12May 15, 2021 23:496,21285,054,84519,879,97802,281,472