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 19:29Yuriy LyfenkoYuriy LyfenkoScore: 5,700Success
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 19:295,64848,456,70615,061,0003,012,0002,523,136
2May 11, 2021 19:295,64845,428,28415,063,0003,012,0002,519,040
3May 11, 2021 19:295,66749,621,78617,126,0001,007,0002,392,064
4May 11, 2021 19:295,66943,680,34116,126,0002,015,0002,519,040
5May 11, 2021 19:295,68543,296,57316,171,0002,021,0002,383,872
6May 11, 2021 19:295,69843,846,04816,207,0002,025,0002,519,040
7May 11, 2021 19:295,70038,728,85817,226,0001,013,0002,519,040
8May 11, 2021 19:295,70348,537,63316,222,0002,027,0002,519,040
9May 11, 2021 19:295,71251,179,60915,232,0003,046,0002,519,040
10May 11, 2021 19:295,91376,372,54118,921,19302,277,376
11May 11, 2021 19:295,92682,701,41718,964,70102,285,568
12May 11, 2021 19:295,97586,882,09819,118,43602,281,472