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 listJul 13, 2021 19:32Yuriy LyfenkoYuriy LyfenkoScore: 5,678Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:325,633541,997,56215,023,0003,004,0002,330,624
2Jul 13, 2021 19:325,644548,947,56716,055,0002,006,0002,330,624
3Jul 13, 2021 19:325,654543,101,76916,082,0002,010,0002,330,624
4Jul 13, 2021 19:325,665543,151,19216,115,0002,014,0002,330,624
5Jul 13, 2021 19:325,671545,882,15115,122,0003,024,0002,330,624
6Jul 13, 2021 19:325,672541,008,46116,134,0002,016,0002,531,328
7Jul 13, 2021 19:325,678541,477,59617,161,0001,009,0002,330,624
8Jul 13, 2021 19:325,695541,414,64515,186,0003,037,0002,330,624
9Jul 13, 2021 19:325,697542,874,49716,205,0002,025,0002,342,912
10Jul 13, 2021 19:325,701581,832,25318,242,58002,256,896
11Jul 13, 2021 19:325,702574,494,59518,247,60002,256,896
12Jul 13, 2021 19:325,705566,889,90018,256,71902,232,320