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 8, 2023 09:28Mark AlievMark AlievScore: 25,919Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2023 19:5425,894144,758,02482,861,76402,236,416
2Aug 8, 2023 09:2825,911151,661,64182,915,66002,236,416
3Aug 9, 2023 19:5425,911154,164,16382,915,97202,232,320
4Aug 8, 2023 09:2825,919155,107,38982,940,60202,228,224
5Aug 9, 2023 19:5425,921152,055,56882,947,39502,232,320
6Aug 8, 2023 09:2825,933152,921,06082,984,18602,232,320