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 listJan 24, 2024 16:06AnSaAnSaScore: 5,270Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 16:065,18937,999,65415,567,0001,037,0002,277,376
2Jan 24, 2024 16:065,20131,405,02815,602,0001,040,0002,277,376
3Jan 24, 2024 16:065,20646,544,76316,658,00002,277,376
4Jan 24, 2024 16:065,20743,027,91115,622,0001,041,0002,277,376
5Jan 24, 2024 16:065,20941,579,91616,670,00002,396,160
6Jan 24, 2024 16:065,22336,427,65615,732,000983,0002,387,968
7Jan 24, 2024 16:065,27040,204,93614,880,0001,984,0002,383,872
8Jan 24, 2024 16:065,27431,808,96315,885,000992,0002,277,376
9Jan 24, 2024 16:065,27636,729,84614,896,0001,986,0002,392,064
10Jan 24, 2024 16:065,42879,821,01117,370,90302,285,568
11Jan 24, 2024 16:065,44175,359,59917,411,91202,273,280
12Jan 24, 2024 16:065,46490,354,66217,485,57102,281,472