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 listJul 6, 2021 00:02Yuriy LyfenkoYuriy LyfenkoScore: 5,262Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:025,17737,501,45815,532,0001,035,0002,265,088
2Jul 6, 2021 00:025,19743,411,60716,631,00002,387,968
3Jul 6, 2021 00:025,20733,762,93216,662,00002,265,088
4Jul 6, 2021 00:025,21342,576,37215,641,0001,042,0002,396,160
5Jul 6, 2021 00:025,21433,964,21216,685,00002,265,088
6Jul 6, 2021 00:025,22142,864,91715,663,0001,044,0002,392,064
7Jul 6, 2021 00:025,26242,255,56614,857,0001,980,0002,265,088
8Jul 6, 2021 00:025,27233,955,29914,886,0001,984,0002,383,872
9Jul 6, 2021 00:025,28048,690,99115,903,000993,0002,265,088
10Jul 6, 2021 00:025,39176,179,22617,249,62602,277,376
11Jul 6, 2021 00:025,41989,868,35817,339,45902,277,376
12Jul 6, 2021 00:025,44581,517,18817,423,40702,277,376