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 12, 2024 03:20Yuriy LyfenkoYuriy LyfenkoScore: 4,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:204,419638,495,11212,122,0002,020,0002,260,992
2Jun 12, 2024 03:204,420640,305,25512,124,0002,020,0002,523,136
3Jun 12, 2024 03:204,428638,103,61813,158,0001,012,0002,260,992
4Jun 12, 2024 03:204,429639,317,06213,161,0001,012,0002,265,088
5Jun 12, 2024 03:204,430636,569,50012,152,0002,025,0002,523,136
6Jun 12, 2024 03:204,447646,373,62013,214,0001,016,0002,523,136
7Jun 12, 2024 03:204,468639,720,68312,254,0002,042,0002,260,992
8Jun 12, 2024 03:204,473641,917,27812,269,0002,044,0002,260,992
9Jun 12, 2024 03:204,474643,813,19413,294,0001,022,0002,523,136
10Jun 12, 2024 03:204,612665,167,32314,759,93702,244,608
11Jun 12, 2024 03:204,631679,444,02514,818,04202,285,568
12Jun 12, 2024 03:204,637692,246,61914,839,02602,285,568