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 listFeb 12, 2023 22:25LiamLiamScore: 5,899Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 12, 2023 22:255,88545,256,24117,842,000991,0002,400,256
2Feb 12, 2023 22:255,88951,520,84616,861,0001,983,0002,273,280
3Feb 12, 2023 22:255,89342,565,88818,856,00002,273,280
4Feb 12, 2023 22:255,89645,750,90117,875,000993,0002,273,280
5Feb 12, 2023 22:255,89847,766,99718,872,00002,400,256
6Feb 12, 2023 22:255,89851,841,61817,881,000993,0002,273,280
7Feb 12, 2023 22:255,89936,519,98317,885,000993,0002,273,280
8Feb 12, 2023 22:255,90941,157,23217,914,000995,0002,273,280
9Feb 12, 2023 22:255,93039,939,09517,979,000998,0002,265,088
10Feb 12, 2023 22:256,11283,942,74619,557,77102,281,472
11Feb 12, 2023 22:256,12191,847,45219,587,79702,248,704
12Feb 12, 2023 22:256,14396,825,29719,658,80102,289,664