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 11:20Dmitry DolgopolovDmitry DolgopolovScore: 4,988Success
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 11:204,95830,722,08813,883,0001,983,0002,527,232
2Jun 13, 2021 11:204,96247,238,89113,894,0001,984,0002,531,328
3Jun 13, 2021 11:204,96343,160,58013,897,0001,985,0002,269,184
4Jun 13, 2021 11:204,97032,034,81613,917,0001,988,0002,445,312
5Jun 13, 2021 11:204,97241,160,67813,922,0001,988,0002,531,328
6Jun 13, 2021 11:204,97339,156,22113,924,0001,989,0002,531,328
7Jun 13, 2021 11:204,98841,757,37613,966,0001,995,0002,449,408
8Jun 13, 2021 11:204,98836,840,53713,968,0001,995,0002,265,088
9Jun 13, 2021 11:205,02139,658,45514,060,0002,008,0002,531,328
10Jun 13, 2021 11:205,20577,845,88816,655,05902,199,552
11Jun 13, 2021 11:205,20667,590,63816,659,74102,203,648
12Jun 13, 2021 11:205,21058,835,94216,671,06302,191,360