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 20:43Dmitry DolgopolovDmitry DolgopolovScore: 5,067Success
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 20:435,02540,104,62614,070,0002,010,0002,273,280
2May 28, 2021 20:435,03231,828,00414,090,0002,012,0002,445,312
3May 28, 2021 20:435,03235,243,91314,089,0002,012,0002,535,424
4May 28, 2021 20:435,03835,788,13814,106,0002,015,0002,273,280
5May 28, 2021 20:435,04434,972,86014,123,0002,017,0002,445,312
6May 28, 2021 20:435,04842,640,60214,135,0002,019,0002,441,216
7May 28, 2021 20:435,05137,248,53914,143,0002,020,0002,437,120
8May 28, 2021 20:435,05530,601,74514,154,0002,022,0002,445,312
9May 28, 2021 20:435,05642,096,56214,158,0002,022,0002,445,312
10May 28, 2021 20:435,05837,543,32114,164,0002,023,0002,531,328
11May 28, 2021 20:435,05842,622,06514,164,0002,023,0002,273,280
12May 28, 2021 20:435,06239,714,94514,174,0002,024,0002,273,280
13May 28, 2021 20:435,06739,360,62814,188,0002,026,0002,445,312
14May 28, 2021 20:435,07042,558,25714,196,0002,028,0002,273,280
15May 28, 2021 20:435,07240,491,03414,202,0002,028,0002,535,424
16May 28, 2021 20:435,08037,309,18414,224,0002,032,0002,273,280
17May 28, 2021 20:435,08634,872,45515,258,0001,017,0002,441,216
18May 28, 2021 20:435,09236,998,31415,275,0001,018,0002,531,328
19May 28, 2021 20:435,25344,236,56316,810,75002,199,552
20May 28, 2021 20:435,27191,145,09416,867,76502,207,744
21May 28, 2021 20:435,28548,004,57616,912,30002,203,648
22May 28, 2021 20:435,28973,345,85316,923,90902,203,648
23May 28, 2021 20:435,31943,761,03517,021,67202,203,648
24May 28, 2021 20:435,34441,563,83517,100,93402,203,648