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 listMar 24, 2024 19:50IhebIhebScore: 6,006Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 24, 2024 19:505,93547,793,20016,994,0001,999,0002,265,088
2Mar 24, 2024 19:505,95644,595,01417,052,0002,006,0002,265,088
3Mar 24, 2024 19:505,95638,733,30018,056,0001,003,0002,265,088
4Mar 24, 2024 19:505,96438,256,79017,076,0002,009,0002,265,088
5Mar 24, 2024 19:505,97250,779,26417,100,0002,011,0002,527,232
6Mar 24, 2024 19:506,00344,619,51918,199,0001,011,0002,387,968
7Mar 24, 2024 19:506,00642,107,64318,209,0001,011,0002,506,752
8Mar 24, 2024 19:506,01843,528,59917,232,0002,027,0002,465,792
9Mar 24, 2024 19:506,02445,721,92219,278,00002,265,088
10Mar 24, 2024 19:506,21785,737,16419,895,74302,285,568
11Mar 24, 2024 19:506,22188,622,73219,906,13702,293,760
12Mar 24, 2024 19:506,251114,939,33520,002,93202,289,664