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 11, 2023 22:09LiamLiamScore: 5,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 11, 2023 22:095,47034,615,66517,504,00002,277,376
2Feb 11, 2023 22:095,47339,606,12016,485,0001,030,0002,277,376
3Feb 11, 2023 22:095,47540,093,28116,489,0001,030,0002,269,184
4Feb 11, 2023 22:095,47734,954,70617,527,00002,277,376
5Feb 11, 2023 22:095,47837,627,84217,529,00002,265,088
6Feb 11, 2023 22:095,48133,501,49616,509,0001,031,0002,277,376
7Feb 11, 2023 22:095,48336,078,94516,513,0001,032,0002,277,376
8Feb 11, 2023 22:095,49943,369,44316,561,0001,035,0002,269,184
9Feb 11, 2023 22:095,49938,838,54516,563,0001,035,0002,375,680
10Feb 11, 2023 22:095,68583,519,55618,193,24402,289,664
11Feb 11, 2023 22:095,70480,984,29618,252,62502,285,568
12Feb 11, 2023 22:095,71686,924,03218,292,13002,297,856