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 11, 2024 16:54Drew GarciaDrew GarciaScore: 5,386Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 16:545,35839,654,17617,145,00002,281,472
2Apr 11, 2024 16:545,36439,141,94216,156,0001,009,0002,281,472
3Apr 11, 2024 16:545,36740,982,91815,155,0002,020,0002,281,472
4Apr 11, 2024 16:545,37438,543,39415,174,0002,023,0002,269,184
5Apr 11, 2024 16:545,37532,410,84814,166,0003,035,0002,281,472
6Apr 11, 2024 16:545,38037,824,71516,203,0001,012,0002,375,680
7Apr 11, 2024 16:545,38633,921,95115,207,0002,027,0002,277,376
8Apr 11, 2024 16:545,39745,060,33514,222,0003,047,0002,277,376
9Apr 11, 2024 16:545,39938,730,36916,261,0001,016,0002,281,472
10Apr 11, 2024 16:545,58768,763,49517,878,94302,297,856
11Apr 11, 2024 16:545,60491,587,28617,932,40902,183,168
12Apr 11, 2024 16:545,61786,451,36717,974,12202,306,048