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 13, 2021 10:46Dmitry DolgopolovDmitry DolgopolovScore: 4,986Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 10:464,96132,253,44914,883,000992,0002,531,328
2Jun 13, 2021 10:464,96342,207,95913,895,0001,985,0002,449,408
3Jun 13, 2021 10:464,96336,513,02613,898,0001,985,0002,531,328
4Jun 13, 2021 10:464,96436,259,71014,894,000992,0002,531,328
5Jun 13, 2021 10:464,96438,081,35613,901,0001,985,0002,269,184
6Jun 13, 2021 10:464,96842,706,19313,912,0001,987,0002,453,504
7Jun 13, 2021 10:464,98630,689,29513,960,0001,994,0002,449,408
8Jun 13, 2021 10:464,98937,273,74813,969,0001,995,0002,531,328
9Jun 13, 2021 10:464,99036,626,86114,971,000998,0002,445,312
10Jun 13, 2021 10:465,18673,227,18716,596,27602,207,744
11Jun 13, 2021 10:465,19991,580,92116,636,43502,199,552
12Jun 13, 2021 10:465,21783,217,62816,694,13502,203,648