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:40KeKazartsevKeKazartsevScore: 33,249Success
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:4033,149132,021,04378,057,00028,020,0002,277,376
2Dec 21, 2024 23:4033,177129,807,38277,120,00029,045,0002,285,568
3Dec 21, 2024 23:4033,187128,839,45078,145,00028,052,0002,277,376
4Dec 21, 2024 23:4033,212127,646,39276,199,00030,078,0002,285,568
5Dec 21, 2024 23:4033,249128,732,83479,296,00027,101,0002,277,376
6Dec 21, 2024 23:4033,317139,861,47076,440,00030,173,0002,285,568
7Dec 21, 2024 23:4033,323132,628,78379,473,00027,161,0002,285,568
8Dec 21, 2024 23:4033,386130,996,35276,882,00029,954,0002,285,568
9Dec 21, 2024 23:4033,443130,193,25180,013,00027,004,0002,285,568