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 1, 2024 13:58Drew GarciaDrew GarciaScore: 5,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 13:585,59543,432,78415,915,0001,989,0002,281,472
2Apr 1, 2024 13:585,61046,840,45715,958,0001,994,0002,281,472
3Apr 1, 2024 13:465,61846,338,71715,982,0001,997,0002,281,472
4Apr 1, 2024 13:465,61836,952,40815,980,0001,997,0002,281,472
5Apr 1, 2024 13:585,61943,415,04115,984,0001,998,0002,281,472
6Apr 1, 2024 13:465,62943,884,62416,011,0002,001,0002,281,472
7Apr 1, 2024 13:465,63142,547,14716,018,0002,002,0002,281,472
8Apr 1, 2024 13:585,63344,177,38217,023,0001,001,0002,281,472
9Apr 1, 2024 13:465,63533,727,81616,028,0002,003,0002,387,968
10Apr 1, 2024 13:465,63939,923,70116,040,0002,005,0002,281,472
11Apr 1, 2024 13:585,64342,432,69516,051,0002,006,0002,273,280
12Apr 1, 2024 13:585,65247,376,27317,083,0001,004,0002,277,376
13Apr 1, 2024 13:465,65246,523,45316,077,0002,009,0002,281,472
14Apr 1, 2024 13:585,65348,342,20916,081,0002,010,0002,375,680
15Apr 1, 2024 13:585,66146,071,87015,095,0003,019,0002,281,472
16Apr 1, 2024 13:465,66345,480,82016,110,0002,013,0002,281,472
17Apr 1, 2024 13:465,67042,103,87115,120,0003,024,0002,281,472
18Apr 1, 2024 13:585,72844,485,77715,276,0003,055,0002,371,584
19Apr 1, 2024 13:465,91688,096,10718,930,68602,195,456
20Apr 1, 2024 13:585,92992,345,83418,973,59902,297,856
21Apr 1, 2024 13:465,93194,354,77418,977,82302,306,048
22Apr 1, 2024 13:585,93685,717,71618,994,18102,179,072
23Apr 1, 2024 13:585,95371,125,42719,050,12702,179,072
24Apr 1, 2024 13:465,97364,427,56319,114,73002,310,144