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 24, 2021 06:03Yuriy LyfenkoYuriy LyfenkoScore: 5,100Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:035,05534,609,34414,154,0002,022,0002,383,872
2May 24, 2021 06:035,05933,164,34914,166,0002,023,0002,396,160
3May 24, 2021 06:035,06830,931,88314,191,0002,027,0002,400,256
4May 24, 2021 06:035,06833,473,11915,205,0001,013,0002,392,064
5May 24, 2021 06:035,08343,742,94014,232,0002,033,0002,392,064
6May 24, 2021 06:035,09341,171,62315,280,0001,018,0002,265,088
7May 24, 2021 06:035,10034,733,74916,321,00002,527,232
8May 24, 2021 06:035,11131,984,64816,355,00002,265,088
9May 24, 2021 06:035,13135,415,24516,420,00002,387,968
10May 24, 2021 06:035,31589,887,65317,007,89702,281,472
11May 24, 2021 06:035,33680,627,57417,074,38102,277,376
12May 24, 2021 06:035,34584,828,78917,103,66002,273,280