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 listJul 6, 2021 01:09Yuriy LyfenkoYuriy LyfenkoScore: 5,106Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 01:095,04143,228,77214,116,0002,016,0002,265,088
2Jul 6, 2021 01:095,05942,350,04614,166,0002,023,0002,265,088
3Jul 6, 2021 01:095,07438,961,32515,224,0001,014,0002,265,088
4Jul 6, 2021 01:095,07831,862,91514,218,0002,031,0002,396,160
5Jul 6, 2021 01:095,07837,692,13114,219,0002,031,0002,396,160
6Jul 6, 2021 01:095,08733,248,24414,244,0002,034,0002,265,088
7Jul 6, 2021 01:095,10632,706,59315,318,0001,021,0002,265,088
8Jul 6, 2021 01:095,12847,241,28015,385,0001,025,0002,387,968
9Jul 6, 2021 01:095,13644,348,50016,435,00002,527,232
10Jul 6, 2021 01:095,24860,251,60916,794,80302,281,472
11Jul 6, 2021 01:095,27466,763,08716,877,28102,269,184
12Jul 6, 2021 01:095,28476,509,80316,910,35602,281,472