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 18:51Yuriy LyfenkoYuriy LyfenkoScore: 5,138Success
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 18:515,09436,892,57116,302,00002,396,160
2May 23, 2021 18:515,10029,840,88915,300,0001,020,0002,506,752
3May 23, 2021 18:515,10334,556,27216,330,00002,265,088
4May 23, 2021 18:515,11133,750,15216,354,00002,506,752
5May 23, 2021 18:515,11340,857,64115,338,0001,022,0002,265,088
6May 23, 2021 18:515,11541,960,43916,368,00002,265,088
7May 23, 2021 18:515,13836,833,13216,443,00002,392,064
8May 23, 2021 18:515,14238,115,94216,455,00002,387,968
9May 23, 2021 18:515,15039,181,51216,480,00002,269,184
10May 23, 2021 18:515,29987,033,73816,956,51902,277,376
11May 23, 2021 18:515,31572,085,52817,009,30602,285,568
12May 23, 2021 18:515,338105,697,08817,082,71802,273,280