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 22, 2024 12:51Huy Duc LeHuy Duc LeScore: 5,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:515,11639,463,55414,324,0002,046,0002,535,424
2Feb 22, 2024 12:515,11836,276,58714,332,0002,047,0002,293,760
3Feb 22, 2024 12:515,13140,904,51016,418,00002,293,760
4Feb 22, 2024 12:515,13437,174,10715,403,0001,026,0002,273,280
5Feb 22, 2024 12:515,13536,333,73515,406,0001,027,0002,293,760
6Feb 22, 2024 12:515,13637,497,48815,409,0001,027,0002,527,232
7Feb 22, 2024 12:515,13737,280,79815,412,0001,027,0002,269,184
8Feb 22, 2024 12:515,14932,137,42615,449,0001,029,0002,527,232
9Feb 22, 2024 12:515,14942,270,51415,447,0001,029,0002,514,944
10Feb 22, 2024 12:515,15639,954,70515,467,0001,031,0002,293,760
11Feb 22, 2024 12:515,15836,682,92815,474,0001,031,0002,269,184
12Feb 22, 2024 12:515,15842,086,44216,506,00002,527,232
13Feb 22, 2024 12:515,16538,847,31115,495,0001,033,0002,269,184
14Feb 22, 2024 12:515,16540,354,95815,496,0001,033,0002,293,760
15Feb 22, 2024 12:515,17539,722,24916,561,00002,269,184
16Feb 22, 2024 12:515,18040,582,37916,575,00002,273,280
17Feb 22, 2024 12:515,18639,287,87516,594,00002,293,760
18Feb 22, 2024 12:515,19645,451,61515,588,0001,039,0002,293,760
19Feb 22, 2024 12:515,33681,924,87817,075,50502,179,072
20Feb 22, 2024 12:515,34997,349,79517,118,10002,293,760
21Feb 22, 2024 12:515,35678,914,58417,139,29102,301,952
22Feb 22, 2024 12:515,36696,173,32517,170,90302,183,168
23Feb 22, 2024 12:515,36880,289,44217,176,00802,293,760
24Feb 22, 2024 12:515,38787,419,17917,239,75102,183,168