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 06:29Yuriy LyfenkoYuriy LyfenkoScore: 5,085Success
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 06:295,05140,567,59114,144,0002,020,0002,392,064
2May 28, 2021 06:295,05239,905,74714,146,0002,020,0002,510,848
3May 28, 2021 06:295,05241,562,95214,146,0002,020,0002,400,256
4May 28, 2021 06:295,06043,638,03314,169,0002,024,0002,510,848
5May 28, 2021 06:295,06632,852,94115,197,0001,013,0002,265,088
6May 28, 2021 06:295,08331,767,25614,232,0002,033,0002,265,088
7May 28, 2021 06:295,08543,937,25414,238,0002,034,0002,392,064
8May 28, 2021 06:295,08641,930,78415,258,0001,017,0002,265,088
9May 28, 2021 06:295,09440,968,42515,284,0001,018,0002,400,256
10May 28, 2021 06:295,237116,946,03716,758,42002,277,376
11May 28, 2021 06:295,23848,300,99516,760,34802,277,376
12May 28, 2021 06:295,32355,921,94717,034,01902,269,184