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 listAug 21, 2021 17:06Yuriy LyfenkoYuriy LyfenkoScore: 4,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2021 17:064,430537,597,82512,152,0002,025,0002,265,088
2Aug 21, 2021 17:064,431539,561,01613,168,0001,012,0002,260,992
3Aug 21, 2021 17:064,439535,616,89513,190,0001,014,0002,265,088
4Aug 21, 2021 17:064,448539,720,57014,232,00002,527,232
5Aug 21, 2021 17:064,451538,918,20114,242,00002,265,088
6Aug 21, 2021 17:064,455538,571,52513,238,0001,018,0002,519,040
7Aug 21, 2021 17:064,458545,595,00214,264,00002,265,088
8Aug 21, 2021 17:064,458537,706,68714,267,00002,527,232
9Aug 21, 2021 17:064,461542,737,83914,275,00002,523,136
10Aug 21, 2021 17:064,601569,962,13714,723,12002,244,608
11Aug 21, 2021 17:064,603577,045,61914,730,93802,285,568
12Aug 21, 2021 17:064,605570,643,69514,735,45702,240,512