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:41Chandrasekaran AkashChandrasekaran AkashScore: 4,361Success
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:384,33737,421,95713,879,00002,510,848
2Apr 16, 2025 01:384,34130,886,13112,899,000992,0002,277,376
3Apr 16, 2025 01:384,34331,572,22812,906,000992,0002,506,752
4Apr 16, 2025 01:384,34730,180,20512,916,000993,0002,277,376
5Apr 16, 2025 01:414,35028,080,84212,926,000994,0002,506,752
6Apr 16, 2025 01:384,35328,531,89812,935,000995,0002,506,752
7Apr 16, 2025 01:414,35632,188,41712,945,000995,0002,277,376
8Apr 16, 2025 01:384,36126,248,32412,959,000996,0002,510,848
9Apr 16, 2025 01:414,36331,772,04912,965,000997,0002,277,376
10Apr 16, 2025 01:384,39025,137,79713,046,0001,003,0002,273,280
11Apr 16, 2025 01:384,39734,055,42013,066,0001,005,0002,277,376
12Apr 16, 2025 01:384,42326,277,00112,132,0002,022,0002,273,280
13Apr 16, 2025 01:414,60332,287,82614,729,00002,506,752
14Apr 16, 2025 01:414,65028,768,59214,879,00002,273,280
15Apr 16, 2025 01:414,65137,677,93513,891,000992,0002,510,848