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 17, 2021 23:20Yuriy LyfenkoYuriy LyfenkoScore: 5,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:205,4633,045,871,64015,540,0001,942,0002,519,040
2May 17, 2021 23:205,4902,941,257,81814,467,0003,100,0002,260,992
3May 17, 2021 23:205,4921,277,668,07216,598,000976,0002,523,136
4May 17, 2021 23:205,495268,744,63316,607,000976,0002,527,232
5May 17, 2021 23:205,5022,439,490,78315,649,0001,956,0002,260,992
6May 17, 2021 23:205,504698,180,95415,656,0001,957,0002,260,992
7May 17, 2021 23:205,5222,758,178,43216,630,0001,039,0002,523,136
8May 17, 2021 23:205,5312,658,307,93315,734,0001,966,0002,527,232
9May 17, 2021 23:205,5321,224,679,40815,735,0001,966,0002,523,136
10May 17, 2021 23:205,661523,296,14318,113,62702,285,568
11May 17, 2021 23:205,6671,036,412,93518,132,90302,285,568
12May 17, 2021 23:205,757719,906,84318,421,34302,277,376