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 28, 2021 06:26Yuriy LyfenkoYuriy LyfenkoScore: 5,098Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 06:265,05439,289,12014,153,0002,021,0002,265,088
2May 28, 2021 06:265,05533,069,78714,154,0002,022,0002,527,232
3May 28, 2021 06:265,05943,163,82214,167,0002,023,0002,265,088
4May 28, 2021 06:265,07144,830,58414,198,0002,028,0002,265,088
5May 28, 2021 06:265,07644,711,02914,212,0002,030,0002,265,088
6May 28, 2021 06:265,07634,664,41814,214,0002,030,0002,387,968
7May 28, 2021 06:265,09834,526,43916,314,00002,392,064
8May 28, 2021 06:265,11144,192,03015,332,0001,022,0002,265,088
9May 28, 2021 06:265,11844,375,03015,356,0001,023,0002,265,088
10May 28, 2021 06:265,67953,898,04018,174,20602,273,280
11May 28, 2021 06:265,74155,723,13218,371,98702,269,184
12May 28, 2021 06:265,75487,906,79518,414,10802,260,992