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 28, 2021 14:30Yuriy LyfenkoYuriy LyfenkoScore: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:305,26052,277,90110,100,0006,733,0002,396,160
2May 28, 2021 14:305,26849,684,94213,487,0003,371,0002,396,160
3May 28, 2021 14:305,27053,345,18013,492,0003,373,0002,265,088
4May 28, 2021 14:305,27550,822,71716,879,00002,383,872
5May 28, 2021 14:305,28350,643,98616,905,00002,404,352
6May 28, 2021 14:305,29451,668,76614,118,0002,823,0002,392,064
7May 28, 2021 14:305,29854,971,85412,714,0004,238,0002,527,232
8May 28, 2021 14:305,30350,791,42414,143,0002,828,0002,265,088
9May 28, 2021 14:305,33156,507,87917,060,00002,265,088
10May 28, 2021 14:305,53864,067,26717,721,53202,273,280
11May 28, 2021 14:305,575104,713,83117,839,97202,273,280
12May 28, 2021 14:305,59091,715,34217,886,95402,277,376