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 11:21DarkclainerDarkclainerScore: 5,268Success
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 11:215,20335,060,48315,611,0001,040,0002,387,968
2Feb 23, 2023 11:215,21641,441,93215,648,0001,043,0002,375,680
3Feb 23, 2023 11:215,21736,508,69115,652,0001,043,0002,273,280
4Feb 23, 2023 11:215,21942,519,43016,700,00002,531,328
5Feb 23, 2023 11:215,22536,572,96916,719,00002,379,776
6Feb 23, 2023 11:215,24739,661,11714,815,0001,975,0002,269,184
7Feb 23, 2023 11:215,26840,421,48514,876,0001,983,0002,269,184
8Feb 23, 2023 11:215,26932,976,89514,879,0001,983,0002,375,680
9Feb 23, 2023 11:215,27149,743,50015,876,000992,0002,379,776
10Feb 23, 2023 11:215,44274,243,59217,414,26302,236,416
11Feb 23, 2023 11:215,45185,813,26417,444,19502,232,320
12Feb 23, 2023 11:215,45380,942,45817,448,08502,244,608