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 listMay 26, 2022 12:12Keichi TakahashiKeichi TakahashiScore: 5,328Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 12:125,30434,466,35415,974,000998,0002,265,088
2May 26, 2022 12:125,30845,599,88814,986,0001,998,0002,383,872
3May 26, 2022 12:125,31143,751,85514,995,0001,999,0002,387,968
4May 26, 2022 12:125,31748,647,87215,012,0002,001,0002,265,088
5May 26, 2022 12:125,31733,505,91715,012,0002,001,0002,265,088
6May 26, 2022 12:125,32338,278,12515,029,0002,003,0002,387,968
7May 26, 2022 12:125,32842,358,72116,048,0001,003,0002,265,088
8May 26, 2022 12:125,33349,644,85215,057,0002,007,0002,387,968
9May 26, 2022 12:125,34836,339,84515,099,0002,013,0002,265,088
10May 26, 2022 12:125,49190,334,85817,571,55202,285,568
11May 26, 2022 12:125,516102,910,73517,652,22002,281,472
12May 26, 2022 12:125,53159,598,91917,699,92702,285,568