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 25, 2024 15:43Yuriy LyfenkoYuriy LyfenkoScore: 4,433Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:434,400636,365,44813,074,0001,005,0002,260,992
2Jul 25, 2024 15:434,402638,856,83012,074,0002,012,0002,523,136
3Jul 25, 2024 15:434,414643,292,07613,117,0001,009,0002,523,136
4Jul 25, 2024 15:434,422637,700,14812,128,0002,021,0002,523,136
5Jul 25, 2024 15:434,422639,311,69713,139,0001,010,0002,260,992
6Jul 25, 2024 15:434,432639,912,12312,157,0002,026,0002,523,136
7Jul 25, 2024 15:434,433637,591,52014,185,00002,260,992
8Jul 25, 2024 15:434,437643,046,92114,199,00002,260,992
9Jul 25, 2024 15:434,455643,712,61912,220,0002,036,0002,396,160
10Jul 25, 2024 15:434,616679,223,72114,772,57102,240,512
11Jul 25, 2024 15:434,639674,882,83514,845,96502,244,608
12Jul 25, 2024 15:434,653677,659,55514,890,26602,342,912