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 listMay 29, 2021 08:44Dmitry DolgopolovDmitry DolgopolovScore: 5,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 08:445,40938,773,33716,291,0001,018,0002,449,408
2May 29, 2021 08:445,41334,738,31316,302,0001,018,0002,441,216
3May 29, 2021 08:445,41637,866,46916,312,0001,019,0002,445,312
4May 29, 2021 08:445,42439,191,41117,358,00002,441,216
5May 29, 2021 08:445,43042,963,49915,331,0002,044,0002,441,216
6May 29, 2021 08:445,45135,950,35517,444,00002,269,184
7May 29, 2021 08:445,46338,397,74617,483,00002,269,184
8May 29, 2021 08:445,46736,788,98216,466,0001,029,0002,265,088
9May 29, 2021 08:445,47243,775,00215,451,0002,060,0002,441,216
10May 29, 2021 08:445,63446,055,82118,027,23202,199,552
11May 29, 2021 08:445,66588,550,96418,128,36202,203,648
12May 29, 2021 08:445,68246,033,46218,182,95202,195,456