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:41Yuriy LyfenkoYuriy LyfenkoScore: 4,450Success
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:414,421638,961,30712,126,0002,021,0002,523,136
2Jun 12, 2024 03:414,430640,575,81212,152,0002,025,0002,260,992
3Jun 12, 2024 03:414,431641,945,12913,166,0001,012,0002,383,872
4Jun 12, 2024 03:414,433640,120,11712,160,0002,026,0002,523,136
5Jun 12, 2024 03:414,439639,221,81212,175,0002,029,0002,260,992
6Jun 12, 2024 03:414,444634,570,60912,191,0002,031,0002,523,136
7Jun 12, 2024 03:414,450637,672,06713,223,0001,017,0002,260,992
8Jun 12, 2024 03:414,452632,970,31412,210,0002,035,0002,523,136
9Jun 12, 2024 03:414,453635,544,34313,233,0001,017,0002,265,088
10Jun 12, 2024 03:414,624687,766,37514,796,26902,285,568
11Jun 12, 2024 03:414,642677,394,20914,854,73302,285,568
12Jun 12, 2024 03:414,645685,408,35914,865,27502,285,568