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 17, 2023 20:57Martin StensgårdMartin StensgårdScore: 5,443Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2023 20:575,41341,207,94116,302,0001,018,0002,387,968
2May 17, 2023 20:575,42749,886,86716,346,0001,021,0002,396,160
3May 17, 2023 20:575,43239,024,49316,360,0001,022,0002,392,064
4May 17, 2023 20:575,43840,040,22417,401,00002,396,160
5May 17, 2023 20:575,43835,807,02116,379,0001,023,0002,387,968
6May 17, 2023 20:575,44243,096,97516,391,0001,024,0002,289,664
7May 17, 2023 20:575,44337,260,15716,394,0001,024,0002,289,664
8May 17, 2023 20:575,45047,120,20017,441,00002,383,872
9May 17, 2023 20:575,45344,993,62717,451,00002,289,664
10May 17, 2023 20:575,584103,234,17217,868,91302,285,568
11May 17, 2023 20:575,60469,565,08817,931,52002,273,280
12May 17, 2023 20:575,62287,045,03017,990,49802,281,472