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 25, 2021 22:26Mikhail DektyarevMikhail DektyarevScore: 4,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:264,89934,128,33115,677,00002,281,472
2May 25, 2021 22:264,90736,940,11914,656,0001,046,0002,281,472
3May 25, 2021 22:264,90740,304,47115,702,00002,281,472
4May 25, 2021 22:264,90935,840,95915,709,00002,281,472
5May 25, 2021 22:264,91934,264,37215,741,00002,281,472
6May 25, 2021 22:264,92844,439,97414,720,0001,051,0002,404,352
7May 25, 2021 22:264,95340,157,27514,860,000990,0002,281,472
8May 25, 2021 22:264,95535,463,47815,855,00002,281,472
9May 25, 2021 22:264,95740,925,81615,862,00002,510,848
10May 25, 2021 22:264,96145,146,65414,882,000992,0002,404,352
11May 25, 2021 22:264,96151,221,39413,890,0001,984,0002,408,448
12May 25, 2021 22:264,96131,923,67814,884,000992,0002,404,352
13May 25, 2021 22:264,96242,542,33113,894,0001,984,0002,396,160
14May 25, 2021 22:264,96233,848,31913,893,0001,984,0002,281,472
15May 25, 2021 22:264,96230,890,88214,887,000992,0002,404,352
16May 25, 2021 22:264,96336,641,29914,888,000992,0002,281,472
17May 25, 2021 22:264,96332,335,53914,890,000992,0002,281,472
18May 25, 2021 22:264,96641,560,84813,905,0001,986,0002,281,472
19May 25, 2021 22:265,09675,360,04416,305,70102,162,688
20May 25, 2021 22:265,10144,094,59516,322,20902,174,976
21May 25, 2021 22:265,12371,758,86216,392,29902,285,568
22May 25, 2021 22:265,12489,151,42216,395,67502,293,760
23May 25, 2021 22:265,12848,040,67516,410,10402,297,856
24May 25, 2021 22:265,13587,871,19216,430,52802,297,856