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 listSep 17, 2024 19:16Matvey BunosMatvey BunosScore: 6,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 19:165,97750,634,56216,107,0003,020,0002,277,376
2Sep 17, 2024 19:165,98750,181,04418,151,0001,008,0002,277,376
3Sep 17, 2024 19:165,99840,898,57117,173,0002,020,0002,269,184
4Sep 17, 2024 19:166,00046,977,43616,168,0003,031,0002,375,680
5Sep 17, 2024 19:166,01351,013,20717,217,0002,025,0002,277,376
6Sep 17, 2024 19:166,02150,296,81217,239,0002,028,0002,265,088
7Sep 17, 2024 19:166,02147,630,56018,253,0001,014,0002,277,376
8Sep 17, 2024 19:166,02338,005,96717,244,0002,028,0002,277,376
9Sep 17, 2024 19:166,03844,411,29717,288,0002,033,0002,375,680