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 listJun 9, 2024 15:06matsuoka-601matsuoka-601Score: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 15:064,60329,724,18313,678,0001,052,0002,404,352
2Jun 9, 2024 15:064,60645,392,37114,738,00002,408,448
3Jun 9, 2024 15:064,64330,630,18713,867,000990,0002,285,568
4Jun 9, 2024 15:064,64729,145,49113,878,000991,0002,408,448
5Jun 9, 2024 15:064,64732,771,47713,880,000991,0002,400,256
6Jun 9, 2024 15:064,64930,068,59612,893,0001,983,0002,285,568
7Jun 9, 2024 15:064,65044,600,72512,896,0001,984,0002,265,088
8Jun 9, 2024 15:064,65132,461,78612,899,0001,984,0002,478,080
9Jun 9, 2024 15:064,66028,974,69413,917,000994,0002,285,568
10Jun 9, 2024 15:064,85480,610,15115,532,97902,179,072
11Jun 9, 2024 15:064,86672,240,94515,571,59202,301,952
12Jun 9, 2024 15:064,90082,117,68615,679,75502,289,664