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 27, 2025 03:40zielajzielajScore: 367,750Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 03:41366,6461,201,674,9551,172,270,000997,0002,527,232
2Apr 27, 2025 03:41366,9361,200,780,1171,173,197,000997,0002,486,272
3Apr 27, 2025 03:39367,0301,199,836,2151,174,496,00002,527,232
4Apr 27, 2025 03:43367,2021,203,197,4961,174,050,000997,0002,486,272
5Apr 27, 2025 03:40367,2251,202,141,3061,174,122,000997,0002,527,232
6Apr 27, 2025 03:41367,2371,203,255,8781,174,160,000997,0002,527,232
7Apr 27, 2025 03:42367,2421,199,196,0261,175,173,00002,494,464
8Apr 27, 2025 03:41367,6531,202,688,5391,176,489,00002,265,088
9Apr 27, 2025 03:41367,7021,205,257,5661,176,645,00002,527,232
10Apr 27, 2025 03:39367,7501,209,362,2021,176,801,00002,527,232
11Apr 27, 2025 03:43367,8301,207,567,9071,176,059,000997,0002,265,088
12Apr 27, 2025 03:42367,8511,199,328,3221,176,127,000997,0002,265,088
13Apr 27, 2025 03:40368,0171,200,005,3281,177,654,00002,527,232
14Apr 27, 2025 03:43368,0461,205,387,9661,177,746,00002,490,368
15Apr 27, 2025 03:40368,3641,208,743,8401,177,767,000997,0002,527,232
16Apr 27, 2025 03:41368,3911,202,692,0791,177,855,000997,0002,494,464
17Apr 27, 2025 03:42368,4111,210,247,0241,177,919,000997,0002,498,560
18Apr 27, 2025 03:39368,8301,209,690,5531,179,260,000997,0002,490,368