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 listJun 8, 2024 20:52AndreyTSAndreyTSScore: 5,932Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:525,84836,364,67518,713,00002,289,664
2Jun 8, 2024 20:525,89936,523,29818,877,00002,289,664
3Jun 8, 2024 20:525,90044,032,32517,887,000993,0002,269,184
4Jun 8, 2024 20:525,90442,398,54216,905,0001,988,0002,523,136
5Jun 8, 2024 20:525,91442,711,63516,934,0001,992,0002,273,280
6Jun 8, 2024 20:525,92342,915,26016,958,0001,995,0002,527,232
7Jun 8, 2024 20:525,93245,101,19616,984,0001,998,0002,289,664
8Jun 8, 2024 20:525,94344,323,13817,015,0002,001,0002,289,664
9Jun 8, 2024 20:525,975103,539,39019,119,83902,297,856
10Jun 8, 2024 20:525,98144,781,92119,139,00002,519,040
11Jun 8, 2024 20:526,08992,057,04719,486,32202,297,856
12Jun 8, 2024 20:526,165102,360,45019,728,75302,297,856