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:40zielajzielajScore: 364,968Success
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:40364,1781,215,291,7501,165,370,70102,240,512
2Aug 17, 2024 19:40364,2061,233,219,4991,165,458,01802,363,392
3Aug 17, 2024 19:40364,5491,223,051,7411,166,556,18502,228,224
4Aug 17, 2024 19:40364,9681,231,987,7621,167,896,38802,240,512
5Aug 17, 2024 19:40364,9801,228,264,0761,167,935,63602,240,512
6Aug 17, 2024 19:40365,2351,230,259,9421,168,752,41802,371,584