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 16, 2024 13:53AnSaAnSaScore: 5,628Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 13:535,57843,514,99514,875,0002,975,0002,277,376
2Jun 16, 2024 13:535,58348,061,57116,873,000992,0002,277,376
3Jun 16, 2024 13:535,61642,329,25514,975,0002,995,0002,531,328
4Jun 16, 2024 13:535,61638,975,06415,975,0001,996,0002,277,376
5Jun 16, 2024 13:535,61742,744,97315,976,0001,997,0002,281,472
6Jun 16, 2024 13:535,62639,410,97816,004,0002,000,0002,383,872
7Jun 16, 2024 13:535,62843,640,05217,011,0001,000,0002,273,280
8Jun 16, 2024 13:535,64441,059,54916,054,0002,006,0002,277,376
9Jun 16, 2024 13:535,65347,311,06316,081,0002,010,0002,277,376
10Jun 16, 2024 13:535,91295,394,88718,918,31702,174,976
11Jun 16, 2024 13:535,91464,574,79918,925,76402,174,976
12Jun 16, 2024 13:535,93294,694,92218,982,95302,301,952