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 14:40Yuriy LyfenkoYuriy LyfenkoScore: 5,102Success
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 14:405,06641,500,14414,186,0002,026,0002,392,064
2May 23, 2021 14:405,07740,716,15714,216,0002,030,0002,392,064
3May 23, 2021 14:405,08333,523,68815,249,0001,016,0002,387,968
4May 23, 2021 14:405,08445,555,57214,235,0002,033,0002,396,160
5May 23, 2021 14:405,08537,192,50715,256,0001,017,0002,527,232
6May 23, 2021 14:405,09832,223,20414,276,0002,039,0002,265,088
7May 23, 2021 14:405,10241,719,31716,326,00002,392,064
8May 23, 2021 14:405,12339,113,78716,392,00002,265,088
9May 23, 2021 14:405,14436,343,79715,433,0001,028,0002,527,232
10May 23, 2021 14:405,30399,935,47616,968,88902,269,184
11May 23, 2021 14:405,33690,542,29117,076,38202,273,280
12May 23, 2021 14:405,34881,322,09917,113,20902,277,376