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 16, 2023 15:02Alexander MonakovAlexander MonakovScore: 4,713Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2023 15:024,63336,962,79013,836,000988,0002,498,560
2Jul 16, 2023 15:024,65135,011,04413,892,000992,0002,494,464
3Jul 16, 2023 15:024,65839,483,34013,914,000993,0002,494,464
4Jul 16, 2023 15:024,66037,734,65913,917,000994,0002,277,376
5Jul 16, 2023 15:024,68234,365,74613,984,000998,0002,494,464
6Jul 16, 2023 15:024,68228,985,63413,985,000998,0002,277,376
7Jul 16, 2023 15:024,71326,463,44414,077,0001,005,0002,535,424
8Jul 16, 2023 15:024,71535,999,63115,087,00002,494,464
9Jul 16, 2023 15:024,71634,032,83415,090,00002,535,424
10Jul 16, 2023 15:025,10589,081,91716,337,30402,248,704
11Jul 16, 2023 15:025,10662,660,23016,339,11502,232,320
12Jul 16, 2023 15:025,12984,921,04316,412,64902,244,608