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 11, 2021 22:28Yuriy LyfenkoYuriy LyfenkoScore: 5,607Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 22:285,58347,189,77416,872,000992,0002,506,752
2May 11, 2021 22:285,58842,446,14317,881,00002,265,088
3May 11, 2021 22:285,59042,802,67216,894,000993,0002,383,872
4May 11, 2021 22:285,59042,384,21016,895,000993,0002,392,064
5May 11, 2021 22:285,59857,625,07414,927,0002,985,0002,523,136
6May 11, 2021 22:285,60545,736,80516,939,000996,0002,523,136
7May 11, 2021 22:285,60742,898,84516,946,000996,0002,400,256
8May 11, 2021 22:285,60947,421,46015,954,0001,994,0002,392,064
9May 11, 2021 22:285,61345,923,06216,965,000997,0002,392,064
10May 11, 2021 22:285,72179,513,90618,306,44502,269,184
11May 11, 2021 22:285,77478,736,16318,477,16302,285,568
12May 11, 2021 22:285,79273,677,32618,535,57802,269,184