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 6, 2025 13:14Chandrasekaran AkashChandrasekaran AkashScore: 4,379Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 13:244,35928,445,04512,952,000996,0002,502,656
2Apr 6, 2025 13:244,36431,364,41612,968,000997,0002,506,752
3Apr 6, 2025 13:244,37235,218,38012,990,000999,0002,506,752
4Apr 6, 2025 13:144,37532,456,47213,000,0001,000,0002,506,752
5Apr 6, 2025 13:244,37636,276,84413,002,0001,000,0002,506,752
6Apr 6, 2025 13:244,37631,924,27913,003,0001,000,0002,506,752
7Apr 6, 2025 13:144,37931,955,93113,012,0001,000,0002,277,376
8Apr 6, 2025 13:244,38332,701,91413,025,0001,001,0002,277,376
9Apr 6, 2025 13:244,38435,486,07513,027,0001,002,0002,502,656
10Apr 6, 2025 13:244,38435,840,83713,028,0001,002,0002,273,280
11Apr 6, 2025 13:244,39838,755,52013,067,0001,005,0002,506,752
12Apr 6, 2025 13:144,40230,507,94813,081,0001,006,0002,506,752