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 23, 2023 09:36DarkclainerDarkclainerScore: 5,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 09:365,34644,111,72414,089,0003,019,0002,375,680
2Feb 23, 2023 09:365,34834,068,28116,109,0001,006,0002,523,136
3Feb 23, 2023 09:365,35740,843,40616,135,0001,008,0002,523,136
4Feb 23, 2023 09:365,36335,085,54016,152,0001,009,0002,478,080
5Feb 23, 2023 09:365,38041,686,13415,190,0002,025,0002,527,232
6Feb 23, 2023 09:365,38148,853,13316,207,0001,012,0002,379,776
7Feb 23, 2023 09:365,40034,322,38416,263,0001,016,0002,265,088
8Feb 23, 2023 09:365,40243,560,66016,269,0001,016,0002,367,488
9Feb 23, 2023 09:365,41548,994,45416,308,0001,019,0002,523,136
10Feb 23, 2023 09:365,60081,047,91217,919,96802,252,800
11Feb 23, 2023 09:365,61889,886,25017,978,04302,248,704
12Feb 23, 2023 09:365,61967,999,09517,979,39802,248,704