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 listAug 5, 2022 18:24deniskolsanovdeniskolsanovScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2022 18:245,43541,234,29317,392,00002,289,664
2Aug 5, 2022 18:245,45332,840,11816,422,0001,026,0002,371,584
3Aug 5, 2022 18:245,45341,742,94017,451,00002,289,664
4Aug 5, 2022 18:245,45533,692,45616,430,0001,026,0002,363,392
5Aug 5, 2022 18:245,46139,670,38517,474,00002,289,664
6Aug 5, 2022 18:245,46538,840,93217,489,00002,289,664
7Aug 5, 2022 18:245,48139,998,11217,539,00002,482,176
8Aug 5, 2022 18:245,48142,388,27916,509,0001,031,0002,289,664
9Aug 5, 2022 18:245,48442,689,88216,517,0001,032,0002,289,664
10Aug 5, 2022 18:245,70062,774,39718,239,29902,236,416
11Aug 5, 2022 18:245,72170,411,83218,308,59102,232,320
12Aug 5, 2022 18:245,747101,660,65218,391,63402,244,608