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 listSep 7, 2022 02:12Yuriy LyfenkoYuriy LyfenkoScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:124,406536,906,02212,084,0002,014,0002,527,232
2Sep 7, 2022 02:124,414545,536,42812,107,0002,017,0002,523,136
3Sep 7, 2022 02:124,430542,875,05812,152,0002,025,0002,523,136
4Sep 7, 2022 02:124,435539,942,21213,180,0001,013,0002,256,896
5Sep 7, 2022 02:124,448540,972,09914,234,00002,527,232
6Sep 7, 2022 02:124,450537,621,59313,223,0001,017,0002,260,992
7Sep 7, 2022 02:124,453548,944,72414,249,00002,260,992
8Sep 7, 2022 02:124,455541,284,30314,256,00002,523,136
9Sep 7, 2022 02:124,475539,588,58913,297,0001,022,0002,523,136
10Sep 7, 2022 02:124,606577,250,81814,738,01202,285,568
11Sep 7, 2022 02:124,609571,511,15414,747,49102,240,512
12Sep 7, 2022 02:124,622577,421,46214,790,38702,277,376