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:57Dmitry 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 13, 2021 10:574,94047,840,97013,832,0001,976,0002,449,408
2Jun 13, 2021 10:574,96131,824,63013,892,0001,984,0002,453,504
3Jun 13, 2021 10:574,96334,585,42013,898,0001,985,0002,269,184
4Jun 13, 2021 10:574,96541,403,33413,903,0001,986,0002,453,504
5Jun 13, 2021 10:574,96643,427,91413,904,0001,986,0002,531,328
6Jun 13, 2021 10:574,97131,610,42513,920,0001,988,0002,269,184
7Jun 13, 2021 10:574,97335,546,43813,925,0001,989,0002,269,184
8Jun 13, 2021 10:574,98938,850,81613,969,0001,995,0002,449,408
9Jun 13, 2021 10:574,98935,191,02813,969,0001,995,0002,269,184
10Jun 13, 2021 10:575,18277,767,99116,581,78502,203,648
11Jun 13, 2021 10:575,22374,497,91416,713,22002,199,552
12Jun 13, 2021 10:575,23659,335,82016,754,43602,211,840