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 listApr 16, 2025 01:36Chandrasekaran AkashChandrasekaran AkashScore: 4,573Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 01:344,49832,446,94814,395,00002,510,848
2Apr 16, 2025 01:364,50531,614,35714,417,00002,277,376
3Apr 16, 2025 01:344,51231,222,27614,439,00002,277,376
4Apr 16, 2025 01:364,51828,563,07714,457,00002,506,752
5Apr 16, 2025 01:344,52728,664,35714,487,00002,510,848
6Apr 16, 2025 01:364,54028,165,13413,492,0001,037,0002,277,376
7Apr 16, 2025 01:354,54331,991,62014,537,00002,277,376
8Apr 16, 2025 01:354,54432,745,40814,540,00002,277,376
9Apr 16, 2025 01:354,55129,461,29114,564,00002,510,848
10Apr 16, 2025 01:354,55929,796,82414,589,00002,277,376
11Apr 16, 2025 01:354,56039,985,84214,593,00002,277,376
12Apr 16, 2025 01:354,56631,860,79414,612,00002,506,752
13Apr 16, 2025 01:354,57331,750,51314,635,00002,535,424
14Apr 16, 2025 01:354,58829,558,96314,681,00002,506,752
15Apr 16, 2025 01:354,60129,922,48014,722,00002,510,848
16Apr 16, 2025 01:354,64635,943,02013,877,000991,0002,277,376
17Apr 16, 2025 01:354,64634,217,72913,877,000991,0002,277,376
18Apr 16, 2025 01:354,64937,732,82013,887,000991,0002,277,376
19Apr 16, 2025 01:364,83241,535,93415,463,00002,506,752
20Apr 16, 2025 01:364,83828,980,88414,450,0001,032,0002,506,752
21Apr 16, 2025 01:364,86631,183,51515,572,00002,506,752
22Apr 16, 2025 01:364,96329,639,68514,891,000992,0002,506,752
23Apr 16, 2025 01:364,96430,314,77914,892,000992,0002,510,848
24Apr 16, 2025 01:364,97850,901,14814,933,000995,0002,277,376