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 10, 2024 14:14MylesMylesScore: 4,524Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2024 14:144,49240,028,02713,349,0001,026,0002,281,472
2Aug 10, 2024 14:144,49638,849,48913,359,0001,027,0002,445,312
3Aug 10, 2024 14:144,50633,379,79613,389,0001,029,0002,281,472
4Aug 10, 2024 14:144,50633,213,20313,390,0001,030,0002,281,472
5Aug 10, 2024 14:144,50630,763,57313,390,0001,030,0002,281,472
6Aug 10, 2024 14:144,51730,109,08513,423,0001,032,0002,277,376
7Aug 10, 2024 14:144,52439,354,64213,444,0001,034,0002,281,472
8Aug 10, 2024 14:144,53329,617,41413,468,0001,036,0002,449,408
9Aug 10, 2024 14:144,54338,866,85713,499,0001,038,0002,449,408
10Aug 10, 2024 14:144,77875,242,78015,289,40702,207,744
11Aug 10, 2024 14:144,80683,622,25915,380,50402,215,936
12Aug 10, 2024 14:144,82080,574,18415,424,00402,207,744