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 19, 2021 23:40Yuriy LyfenkoYuriy LyfenkoScore: 5,541Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:405,47641,792,83016,494,0001,030,0002,396,160
2May 19, 2021 23:405,48734,840,69117,557,00002,396,160
3May 19, 2021 23:405,48745,061,89616,526,0001,032,0002,527,232
4May 19, 2021 23:405,48838,533,53815,497,0002,066,0002,392,064
5May 19, 2021 23:405,49242,068,34116,541,0001,033,0002,387,968
6May 19, 2021 23:405,50438,518,45817,612,00002,392,064
7May 19, 2021 23:405,53447,477,61316,669,0001,041,0002,523,136
8May 19, 2021 23:405,54148,585,57416,688,0001,043,0002,260,992
9May 19, 2021 23:405,54442,307,64416,698,0001,043,0002,387,968
10May 19, 2021 23:405,69282,169,26318,214,21602,273,280
11May 19, 2021 23:405,70779,914,04218,262,87002,281,472
12May 19, 2021 23:405,74959,572,29418,397,89602,277,376
13May 19, 2021 23:405,74972,292,60418,395,37202,269,184
14May 19, 2021 23:405,75970,920,43718,429,65402,273,280
15May 19, 2021 23:405,79998,000,34218,555,36102,281,472