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 12, 2024 03:34Yuriy LyfenkoYuriy LyfenkoScore: 4,470Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:344,439642,955,87313,192,0001,014,0002,260,992
2Jun 12, 2024 03:344,447638,121,57014,230,00002,523,136
3Jun 12, 2024 03:344,448640,301,37514,233,00002,260,992
4Jun 12, 2024 03:344,459641,608,83613,251,0001,019,0002,265,088
5Jun 12, 2024 03:344,462640,871,71714,279,00002,523,136
6Jun 12, 2024 03:344,466641,202,14014,291,00002,265,088
7Jun 12, 2024 03:344,470638,583,12814,305,00002,392,064
8Jun 12, 2024 03:344,470638,145,26313,284,0001,021,0002,260,992
9Jun 12, 2024 03:344,476640,288,03313,300,0001,023,0002,523,136
10Jun 12, 2024 03:344,635679,492,20514,832,73402,244,608
11Jun 12, 2024 03:344,667675,256,13514,935,88402,244,608
12Jun 12, 2024 03:344,668678,021,78714,938,86302,273,280