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 27, 2021 18:35Yuriy LyfenkoYuriy LyfenkoScore: 5,083Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:355,04034,506,90214,113,0002,016,0002,265,088
2May 27, 2021 18:355,04342,952,40015,130,0001,008,0002,265,088
3May 27, 2021 18:355,04731,952,13515,142,0001,009,0002,265,088
4May 27, 2021 18:355,05333,725,31815,159,0001,010,0002,527,232
5May 27, 2021 18:355,06633,226,89515,199,0001,013,0002,265,088
6May 27, 2021 18:355,07244,339,12515,216,0001,014,0002,265,088
7May 27, 2021 18:355,08343,555,07015,248,0001,016,0002,265,088
8May 27, 2021 18:355,08632,335,99615,258,0001,017,0002,265,088
9May 27, 2021 18:355,09041,614,02315,270,0001,018,0002,265,088
10May 27, 2021 18:355,24752,181,78816,790,76502,277,376
11May 27, 2021 18:355,30479,834,41516,972,60802,285,568
12May 27, 2021 18:355,32748,971,68417,044,88802,281,472