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:17LiamLiamScore: 5,492Success
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:175,45644,635,76116,432,0001,027,0002,289,664
2Feb 11, 2023 22:175,46044,281,53517,473,00002,289,664
3Feb 11, 2023 22:175,46139,812,28416,447,0001,027,0002,281,472
4Feb 11, 2023 22:175,46438,480,91017,486,00002,281,472
5Feb 11, 2023 22:175,47437,729,63916,488,0001,030,0002,392,064
6Feb 11, 2023 22:175,49138,878,98917,570,00002,289,664
7Feb 11, 2023 22:175,49247,004,98816,542,0001,033,0002,289,664
8Feb 11, 2023 22:175,49345,054,69616,545,0001,034,0002,289,664
9Feb 11, 2023 22:175,51633,592,76517,650,00002,289,664
10Feb 11, 2023 22:175,65399,440,12518,089,43202,301,952
11Feb 11, 2023 22:175,66074,962,12618,112,19102,297,856
12Feb 11, 2023 22:175,67471,388,83318,158,37602,297,856