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 28, 2021 14:43Yuriy LyfenkoYuriy LyfenkoScore: 5,272Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:435,21630,252,28415,649,0001,043,0002,392,064
2May 28, 2021 14:435,21742,742,83316,695,00002,404,352
3May 28, 2021 14:435,21834,477,52516,697,00002,404,352
4May 28, 2021 14:435,21940,578,76516,700,00002,383,872
5May 28, 2021 14:435,22439,339,42815,673,0001,044,0002,400,256
6May 28, 2021 14:435,26033,440,41114,851,0001,980,0002,265,088
7May 28, 2021 14:435,27250,293,54815,877,000992,0002,392,064
8May 28, 2021 14:435,27549,955,03215,887,000992,0002,265,088
9May 28, 2021 14:435,27537,989,71615,887,000992,0002,383,872
10May 28, 2021 14:435,43253,144,43617,381,57302,273,280
11May 28, 2021 14:435,44055,351,05717,408,27102,277,376
12May 28, 2021 14:435,46974,469,20017,500,19902,269,184