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:25Yuriy LyfenkoYuriy LyfenkoScore: 4,443Success
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:254,408640,508,53512,090,0002,015,0002,387,968
2Jun 12, 2024 03:254,409643,451,59613,101,0001,007,0002,523,136
3Jun 12, 2024 03:254,416644,487,15012,113,0002,018,0002,523,136
4Jun 12, 2024 03:254,421642,289,65513,137,0001,010,0002,260,992
5Jun 12, 2024 03:254,428644,133,83113,156,0001,012,0002,392,064
6Jun 12, 2024 03:254,435637,497,07112,164,0002,027,0002,260,992
7Jun 12, 2024 03:254,443637,892,57713,204,0001,015,0002,265,088
8Jun 12, 2024 03:254,444637,443,88112,191,0002,031,0002,523,136
9Jun 12, 2024 03:254,453639,592,15813,232,0001,017,0002,260,992
10Jun 12, 2024 03:254,627674,093,42914,806,92402,240,512
11Jun 12, 2024 03:254,644680,019,33514,860,68502,277,376
12Jun 12, 2024 03:254,650672,281,52614,881,43002,285,568