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 listDec 16, 2024 22:11RichardRichardScore: 5,776Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2024 22:115,73141,104,96317,320,0001,018,0002,371,584
2Dec 16, 2024 22:115,74340,070,83418,379,00002,371,584
3Dec 16, 2024 22:115,75341,484,69517,389,0001,022,0002,371,584
4Dec 16, 2024 22:115,76043,660,89317,409,0001,024,0002,285,568
5Dec 16, 2024 22:115,77642,161,88217,458,0001,026,0002,285,568
6Dec 16, 2024 22:115,78736,835,39017,490,0001,028,0002,285,568
7Dec 16, 2024 22:115,79239,898,19118,535,00002,375,680
8Dec 16, 2024 22:115,81450,531,04217,571,0001,033,0002,285,568
9Dec 16, 2024 22:115,82051,797,24717,591,0001,034,0002,285,568