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 17, 2021 19:54Yuriy LyfenkoYuriy LyfenkoScore: 5,451Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:545,4022,648,312,86316,326,000960,0002,527,232
2May 17, 2021 19:545,411282,765,18016,298,0001,018,0002,269,184
3May 17, 2021 19:545,4202,041,436,66415,418,0001,927,0002,396,160
4May 17, 2021 19:545,427626,833,59115,436,0001,929,0002,269,184
5May 17, 2021 19:545,4381,813,760,87116,435,000966,0002,265,088
6May 17, 2021 19:545,4512,132,798,92715,505,0001,938,0002,265,088
7May 17, 2021 19:545,4512,758,410,47416,474,000969,0002,265,088
8May 17, 2021 19:545,457308,000,07816,436,0001,027,0002,265,088
9May 17, 2021 19:545,490473,223,62815,617,0001,952,0002,269,184
10May 17, 2021 19:545,5572,090,734,45917,781,20702,277,376
11May 17, 2021 19:545,56991,047,31117,821,19902,277,376
12May 17, 2021 19:545,598614,113,34917,912,79102,281,472