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 listMar 18, 2023 12:29Zhao Wei LiewZhao Wei LiewScore: 2,546,267Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 12:292,541,3958,197,057,2858,132,463,43102,260,992
2Mar 18, 2023 12:292,546,2678,200,023,7428,148,053,37102,248,704
3Mar 18, 2023 12:292,656,2718,564,231,6318,500,068,56702,256,896