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 listNov 1, 2021 15:43Ilya AniskovetsIlya AniskovetsScore: 5,325Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 15:435,28643,480,07514,925,0001,990,0002,265,088
2Nov 1, 2021 15:435,30244,077,27914,971,0001,996,0002,265,088
3Nov 1, 2021 15:435,30343,026,68714,974,0001,996,0002,510,848
4Nov 1, 2021 15:435,30537,811,48614,979,0001,997,0002,387,968
5Nov 1, 2021 15:435,32144,368,70016,026,0001,001,0002,392,064
6Nov 1, 2021 15:435,32437,328,88016,035,0001,002,0002,265,088
7Nov 1, 2021 15:435,32543,124,77415,035,0002,004,0002,527,232
8Nov 1, 2021 15:435,33336,244,02816,061,0001,003,0002,265,088
9Nov 1, 2021 15:435,35847,840,75915,128,0002,017,0002,387,968
10Nov 1, 2021 15:435,49789,254,58817,590,79102,281,472
11Nov 1, 2021 15:435,49785,822,51617,590,39602,281,472
12Nov 1, 2021 15:435,52580,823,15717,680,55702,285,568