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 11:36Ilya AniskovetsIlya AniskovetsScore: 5,284Success
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 11:365,26542,702,23814,866,0001,982,0002,392,064
2Nov 1, 2021 11:365,26643,152,87915,859,000991,0002,387,968
3Nov 1, 2021 11:365,26949,125,70714,877,0001,983,0002,387,968
4Nov 1, 2021 11:365,27742,759,48815,893,000993,0002,265,088
5Nov 1, 2021 11:365,27844,763,90315,896,000993,0002,387,968
6Nov 1, 2021 11:365,27844,138,04914,903,0001,987,0002,387,968
7Nov 1, 2021 11:365,28445,434,68715,916,000994,0002,265,088
8Nov 1, 2021 11:365,29149,152,14214,940,0001,992,0002,265,088
9Nov 1, 2021 11:365,29741,746,75214,955,0001,994,0002,265,088
10Nov 1, 2021 11:365,46789,326,78717,495,01702,285,568
11Nov 1, 2021 11:365,47675,407,56717,523,07702,273,280
12Nov 1, 2021 11:365,48884,689,77817,561,66702,273,280