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 listApr 22, 2024 02:51Yuriy LyfenkoYuriy LyfenkoScore: 7,135Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 02:505,85278,136,30818,725,03502,289,664
2Apr 22, 2024 02:505,94267,159,10219,015,20102,269,184
3Apr 22, 2024 02:515,96968,986,68119,099,75502,273,280
4Apr 22, 2024 02:515,977100,707,14819,127,89602,281,472
5Apr 22, 2024 02:515,99166,779,16919,171,99602,281,472
6Apr 22, 2024 02:505,99494,454,76819,179,55002,281,472
7Apr 22, 2024 02:516,83345,559,24019,877,0001,987,0002,539,520
8Apr 22, 2024 02:506,87752,563,31119,006,0003,001,0002,437,120
9Apr 22, 2024 02:506,96552,809,94520,261,0002,026,0002,445,312
10Apr 22, 2024 02:517,04854,564,52421,527,0001,025,0002,551,808
11Apr 22, 2024 02:507,09246,471,79120,630,0002,063,0002,551,808
12Apr 22, 2024 02:517,09653,740,11921,675,0001,032,0002,551,808
13Apr 22, 2024 02:507,13552,449,74719,853,0002,978,0002,551,808
14Apr 22, 2024 02:507,14351,804,93820,869,0001,987,0002,539,520
15Apr 22, 2024 02:507,14554,889,33720,877,0001,988,0002,551,808
16Apr 22, 2024 02:517,14848,273,95519,892,0002,983,0002,539,520
17Apr 22, 2024 02:517,15756,243,71319,914,0002,987,0002,433,024
18Apr 22, 2024 02:507,17753,460,08219,972,0002,995,0002,551,808
19Apr 22, 2024 02:507,20154,727,34921,039,0002,003,0002,551,808
20Apr 22, 2024 02:517,20249,389,18620,041,0003,006,0002,551,808
21Apr 22, 2024 02:517,21647,906,72520,080,0003,012,0002,449,408
22Apr 22, 2024 02:517,22350,812,60320,100,0003,015,0002,551,808
23Apr 22, 2024 02:507,22549,165,25122,116,0001,005,0002,469,888
24Apr 22, 2024 02:517,23548,436,86321,140,0002,013,0002,551,808