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 16, 2021 17:57Yuriy LyfenkoYuriy LyfenkoScore: 5,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 17:575,3986,271,473,16116,256,0001,016,0002,523,136
2May 16, 2021 17:575,4276,263,341,21416,401,000964,0002,260,992
3May 16, 2021 17:575,4386,264,654,01415,467,0001,933,0002,523,136
4May 16, 2021 17:575,4386,265,439,64615,468,0001,933,0002,523,136
5May 16, 2021 17:575,4406,264,259,93416,440,000967,0002,519,040
6May 16, 2021 17:575,4436,265,068,74416,449,000967,0002,392,064
7May 16, 2021 17:575,4436,266,474,50216,450,000967,0002,523,136
8May 16, 2021 17:575,4446,268,252,97215,486,0001,935,0002,519,040
9May 16, 2021 17:575,4456,271,927,70015,488,0001,936,0002,269,184
10May 16, 2021 17:575,6436,308,493,80418,057,75602,277,376
11May 16, 2021 17:575,6576,302,204,41918,102,84202,285,568
12May 16, 2021 17:575,8686,348,020,47918,778,26902,289,664