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 3, 2024 05:12MylesMylesScore: 4,425Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:124,40229,396,09912,073,0002,012,0002,449,408
2Aug 3, 2024 05:124,41437,563,39112,108,0002,018,0002,449,408
3Aug 3, 2024 05:124,41835,647,96412,117,0002,019,0002,457,600
4Aug 3, 2024 05:124,41939,561,55312,122,0002,020,0002,449,408
5Aug 3, 2024 05:124,42030,085,44812,124,0002,020,0002,445,312
6Aug 3, 2024 05:124,42338,999,14012,132,0002,022,0002,441,216
7Aug 3, 2024 05:124,42533,758,83112,138,0002,023,0002,281,472
8Aug 3, 2024 05:124,42633,676,87812,141,0002,023,0002,281,472
9Aug 3, 2024 05:124,45433,526,24112,218,0002,036,0002,441,216
10Aug 3, 2024 05:124,68573,037,45414,992,51502,326,528
11Aug 3, 2024 05:124,69181,519,75415,011,37202,199,552
12Aug 3, 2024 05:124,69892,376,20715,032,42602,334,720