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 listSep 22, 2021 05:18Ilya AniskovetsIlya AniskovetsScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2021 05:185,58043,094,48615,872,0001,984,0002,535,424
2Sep 22, 2021 05:185,58045,847,80515,873,0001,984,0002,281,472
3Sep 22, 2021 05:185,58050,140,79517,857,00002,281,472
4Sep 22, 2021 05:185,58148,037,44314,884,0002,976,0002,281,472
5Sep 22, 2021 05:185,58245,409,38715,878,0001,984,0002,281,472
6Sep 22, 2021 05:185,58447,896,20414,892,0002,978,0002,379,776
7Sep 22, 2021 05:185,58952,517,98014,905,0002,981,0002,269,184
8Sep 22, 2021 05:185,60446,409,41515,942,0001,992,0002,531,328
9Sep 22, 2021 05:185,61840,216,37215,980,0001,997,0002,269,184
10Sep 22, 2021 05:185,80084,753,37018,560,58102,301,952
11Sep 22, 2021 05:185,81184,325,77218,596,32902,195,456
12Sep 22, 2021 05:185,83262,827,91318,660,92002,289,664