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 listDec 21, 2024 23:43KeKazartsevKeKazartsevScore: 33,243Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 23:4333,129134,266,98174,009,00032,004,0002,285,568
2Dec 21, 2024 23:4333,173131,548,17978,114,00028,041,0002,277,376
3Dec 21, 2024 23:4333,184131,009,90377,138,00029,052,0002,285,568
4Dec 21, 2024 23:4333,204135,738,06778,187,00028,067,0002,285,568
5Dec 21, 2024 23:4333,243129,300,15077,275,00029,103,0002,277,376
6Dec 21, 2024 23:4333,278129,455,34080,370,00026,120,0002,285,568
7Dec 21, 2024 23:4333,286130,517,11578,380,00028,136,0002,277,376
8Dec 21, 2024 23:4333,361130,600,34478,820,00027,936,0002,277,376
9Dec 21, 2024 23:4333,475132,630,40278,087,00029,032,0002,285,568