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 listJul 8, 2021 16:51Yuriy LyfenkoYuriy LyfenkoScore: 4,621Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:514,550545,243,55413,520,0001,040,0002,260,992
2Jul 8, 2021 16:514,554541,057,52513,533,0001,041,0002,260,992
3Jul 8, 2021 16:514,568540,478,70613,572,0001,044,0002,265,088
4Jul 8, 2021 16:514,577540,984,64213,600,0001,046,0002,523,136
5Jul 8, 2021 16:514,583540,118,78012,710,0001,955,0002,260,992
6Jul 8, 2021 16:514,618542,537,00813,793,000985,0002,523,136
7Jul 8, 2021 16:514,621547,112,10613,801,000985,0002,523,136
8Jul 8, 2021 16:514,621544,915,36213,802,000985,0002,392,064
9Jul 8, 2021 16:514,625546,264,49013,815,000986,0002,387,968
10Jul 8, 2021 16:514,720577,940,03415,105,46202,240,512
11Jul 8, 2021 16:514,734573,628,40915,148,47202,240,512
12Jul 8, 2021 16:514,753577,491,13515,210,07002,260,992