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 6, 2022 23:49Eugene ZhydzetskiEugene ZhydzetskiScore: 13,354Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2022 23:4913,29998,758,68942,558,04702,256,896
2Aug 6, 2022 23:4913,30796,686,67442,581,91602,256,896
3Aug 6, 2022 23:4913,323105,418,19742,634,29402,252,800
4Aug 6, 2022 23:4913,354117,897,20942,734,02202,244,608
5Aug 6, 2022 23:4913,368115,863,95542,778,09502,240,512
6Aug 6, 2022 23:4913,409108,655,72142,910,06202,244,608