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 2, 2021 20:36Dmitry DolgopolovDmitry DolgopolovScore: 4,973Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 20:364,94931,968,65214,849,000989,0002,445,312
2Jun 2, 2021 20:364,95830,377,00613,882,0001,983,0002,531,328
3Jun 2, 2021 20:364,96035,467,62514,881,000992,0002,445,312
4Jun 2, 2021 20:364,96240,970,13813,893,0001,984,0002,449,408
5Jun 2, 2021 20:364,96433,228,36213,899,0001,985,0002,449,408
6Jun 2, 2021 20:364,97141,945,06713,918,0001,988,0002,269,184
7Jun 2, 2021 20:364,97341,629,42614,854,0001,061,0002,265,088
8Jun 2, 2021 20:364,98633,376,80713,962,0001,994,0002,527,232
9Jun 2, 2021 20:364,99429,628,79113,983,0001,997,0002,514,944
10Jun 2, 2021 20:365,17061,158,94016,545,23902,199,552
11Jun 2, 2021 20:365,18254,838,15716,583,56502,203,648
12Jun 2, 2021 20:365,20386,359,98616,649,39902,199,552