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 27, 2024 21:01Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 21:015,48582,047,77317,552,32102,297,856
2Feb 27, 2024 21:015,48883,139,52117,561,95502,281,472
3Feb 27, 2024 21:015,50590,493,26017,614,89302,293,760
4Feb 27, 2024 21:015,58144,491,69015,875,0001,984,0002,281,472
5Feb 27, 2024 21:015,58447,471,97417,868,00002,281,472
6Feb 27, 2024 21:015,58645,566,35815,889,0001,986,0002,281,472
7Feb 27, 2024 21:015,58648,174,64517,876,00002,281,472
8Feb 27, 2024 21:015,58743,158,14615,892,0001,986,0002,281,472
9Feb 27, 2024 21:015,60040,069,90115,928,0001,991,0002,482,176
10Feb 27, 2024 21:015,60042,450,81316,865,0001,054,0002,400,256
11Feb 27, 2024 21:015,61738,015,71715,976,0001,997,0002,281,472
12Feb 27, 2024 21:015,62441,922,14315,999,0001,999,0002,400,256