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 15, 2024 21:06Daan de GraafDaan de GraafScore: 5,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 15, 2024 21:125,51594,974,00017,649,50302,310,144
2Aug 15, 2024 21:065,52874,724,10617,690,03902,183,168
3Aug 15, 2024 21:125,53676,966,59817,716,12502,183,168
4Aug 15, 2024 21:065,54086,634,81917,726,63802,310,144
5Aug 15, 2024 21:065,55189,475,62817,763,45502,301,952
6Aug 15, 2024 21:125,55382,930,01117,770,28202,187,264