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 2, 2021 18:27Yuriy LyfenkoYuriy LyfenkoScore: 5,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 18:274,99953,341,81114,999,000999,0002,265,088
2Jun 2, 2021 18:275,00251,186,21315,007,0001,000,0002,392,064
3Jun 2, 2021 18:275,00350,895,66915,008,0001,000,0002,265,088
4Jun 2, 2021 18:275,00654,999,68714,018,0002,002,0002,523,136
5Jun 2, 2021 18:275,01351,063,82914,038,0002,005,0002,265,088
6Jun 2, 2021 18:275,02351,482,67414,065,0002,009,0002,265,088
7Jun 2, 2021 18:275,02850,816,85114,080,0002,011,0002,265,088
8Jun 2, 2021 18:275,05453,529,15815,164,0001,010,0002,265,088
9Jun 2, 2021 18:275,06552,068,36814,183,0002,026,0002,265,088
10Jun 2, 2021 18:275,15594,257,95416,495,24202,240,512
11Jun 2, 2021 18:275,17187,748,47716,546,64702,240,512
12Jun 2, 2021 18:275,19581,085,22616,622,52502,277,376