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 listSep 23, 2024 07:57Павел РатмановПавел РатмановScore: 14,958Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 07:5714,86775,184,92220,244,00027,330,0002,453,504
2Sep 23, 2024 07:5714,90173,820,54521,305,00026,378,0002,289,664
3Sep 23, 2024 07:5714,90977,149,73721,317,00026,393,0002,281,472
4Sep 23, 2024 07:5714,94374,468,15319,923,00027,893,0002,289,664
5Sep 23, 2024 07:5714,95882,032,02016,294,00031,571,0002,289,664
6Sep 23, 2024 07:5714,99875,054,85917,997,00029,995,0002,289,664
7Sep 23, 2024 07:5715,02369,459,79721,033,00027,042,0002,293,760
8Sep 23, 2024 07:5715,03169,275,46123,047,00025,051,0002,281,472
9Sep 23, 2024 07:5715,06171,341,33824,098,00024,098,0002,289,664