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 17, 2024 19:43zielajzielajScore: 365,690Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 19:43364,8561,229,004,9371,167,538,89802,244,608
2Aug 17, 2024 19:44364,9751,229,005,8001,167,920,72002,256,896
3Aug 17, 2024 19:44365,6811,225,997,4571,170,178,21802,232,320
4Aug 17, 2024 19:43365,6901,226,207,3551,170,208,59702,236,416
5Aug 17, 2024 19:44365,9991,237,498,0801,171,197,15402,244,608
6Aug 17, 2024 19:43366,1091,227,070,2301,171,548,12902,367,488