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 listOct 1, 2022 14:48Sergey SlotinSergey SlotinScore: 5,687Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2022 14:485,65445,859,41716,084,0002,010,0002,277,376
2Oct 1, 2022 14:485,65740,609,23017,096,0001,005,0002,277,376
3Oct 1, 2022 14:485,65937,701,58217,104,0001,006,0002,273,280
4Oct 1, 2022 14:485,67242,782,87516,135,0002,016,0002,281,472
5Oct 1, 2022 14:485,67844,713,08717,103,0001,068,0002,277,376
6Oct 1, 2022 14:485,68445,043,19715,158,0003,031,0002,277,376
7Oct 1, 2022 14:485,68744,319,23916,176,0002,022,0002,277,376
8Oct 1, 2022 14:485,70250,283,66016,219,0002,027,0002,277,376
9Oct 1, 2022 14:485,74235,131,22717,355,0001,020,0002,277,376
10Oct 1, 2022 14:485,94981,267,13619,037,17302,297,856
11Oct 1, 2022 14:485,95888,247,35619,064,14902,301,952
12Oct 1, 2022 14:485,95986,774,18819,069,36302,297,856