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 24, 2021 18:50Yuriy LyfenkoYuriy LyfenkoScore: 5,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:505,12437,903,42815,374,0001,024,0002,396,160
2May 24, 2021 18:505,12642,527,43215,377,0001,025,0002,396,160
3May 24, 2021 18:505,12741,911,87214,475,0001,930,0002,387,968
4May 24, 2021 18:505,13432,044,75115,404,0001,026,0002,392,064
5May 24, 2021 18:505,14131,496,91616,451,00002,527,232
6May 24, 2021 18:505,14736,925,91416,471,00002,506,752
7May 24, 2021 18:505,15331,995,91215,458,0001,030,0002,265,088
8May 24, 2021 18:505,17036,737,28215,511,0001,034,0002,265,088
9May 24, 2021 18:505,17331,842,35216,554,00002,396,160
10May 24, 2021 18:505,32488,300,86917,036,20502,269,184
11May 24, 2021 18:505,35739,903,13817,142,68402,281,472
12May 24, 2021 18:505,36748,123,55617,174,84002,273,280