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 13, 2021 20:32alex3dalex3dScore: 4,708Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 20:324,66737,328,42913,938,000995,0002,387,968
2May 13, 2021 20:324,67732,622,24512,971,0001,995,0002,265,088
3May 13, 2021 20:324,67832,709,91012,975,0001,996,0002,265,088
4May 13, 2021 20:324,68144,754,31813,980,000998,0002,265,088
5May 13, 2021 20:324,68230,165,03313,985,000998,0002,379,776
6May 13, 2021 20:324,68445,157,91613,991,000999,0002,379,776
7May 13, 2021 20:324,70833,423,02314,061,0001,004,0002,379,776
8May 13, 2021 20:324,71341,365,93414,078,0001,005,0002,506,752
9May 13, 2021 20:324,71838,902,02614,092,0001,006,0002,392,064
10May 13, 2021 20:325,36378,975,51317,162,20102,281,472
11May 13, 2021 20:325,37690,334,90317,204,17702,285,568
12May 13, 2021 20:325,37667,567,27117,201,72102,277,376