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:35Huy Duc LeHuy Duc LeScore: 5,473Success
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:355,45637,752,57217,459,00002,523,136
2Feb 22, 2024 12:355,46140,510,67516,447,0001,027,0002,293,760
3Feb 22, 2024 12:355,46538,395,80316,461,0001,028,0002,273,280
4Feb 22, 2024 12:355,46836,444,51216,470,0001,029,0002,293,760
5Feb 22, 2024 12:355,46940,958,39116,473,0001,029,0002,514,944
6Feb 22, 2024 12:355,47143,854,84816,478,0001,029,0002,383,872
7Feb 22, 2024 12:355,47336,190,17016,482,0001,030,0002,293,760
8Feb 22, 2024 12:355,47439,680,85516,488,0001,030,0002,269,184
9Feb 22, 2024 12:355,48238,334,49417,542,00002,523,136
10Feb 22, 2024 12:355,68585,290,09918,191,04302,179,072
11Feb 22, 2024 12:355,692107,129,02918,213,85502,293,760
12Feb 22, 2024 12:355,70686,753,14418,260,17802,301,952