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:46Yuriy LyfenkoYuriy LyfenkoScore: 4,439Success
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:464,395542,494,76912,056,0002,009,0002,260,992
2Sep 7, 2022 02:464,407544,669,02912,087,0002,014,0002,260,992
3Sep 7, 2022 02:464,419540,430,42513,131,0001,010,0002,523,136
4Sep 7, 2022 02:464,422544,344,23012,128,0002,021,0002,527,232
5Sep 7, 2022 02:464,424542,038,76412,135,0002,022,0002,523,136
6Sep 7, 2022 02:464,433536,620,26513,172,0001,013,0002,260,992
7Sep 7, 2022 02:464,439538,193,12012,175,0002,029,0002,265,088
8Sep 7, 2022 02:464,446539,783,74112,194,0002,032,0002,260,992
9Sep 7, 2022 02:464,473539,005,02912,269,0002,044,0002,260,992
10Sep 7, 2022 02:464,601573,158,79914,722,57102,240,512
11Sep 7, 2022 02:464,605580,802,81414,735,48202,269,184
12Sep 7, 2022 02:464,610579,658,56714,752,55002,244,608