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 23, 2021 23:17Yuriy LyfenkoYuriy LyfenkoScore: 5,210Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 23:175,16337,325,51915,491,0001,032,0002,396,160
2May 23, 2021 23:175,16437,475,29416,525,00002,265,088
3May 23, 2021 23:175,16541,505,72215,496,0001,033,0002,265,088
4May 23, 2021 23:175,16731,668,92916,534,00002,265,088
5May 23, 2021 23:175,16739,076,16515,502,0001,033,0002,265,088
6May 23, 2021 23:175,17744,285,00415,531,0001,035,0002,392,064
7May 23, 2021 23:175,21045,141,92616,671,00002,265,088
8May 23, 2021 23:175,21645,070,75316,691,00002,506,752
9May 23, 2021 23:175,23141,943,13415,755,000984,0002,527,232
10May 23, 2021 23:175,35081,745,20117,120,18502,277,376
11May 23, 2021 23:175,43267,149,66117,383,72102,281,472
12May 23, 2021 23:175,45896,447,02017,465,84202,281,472