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 listApr 18, 2024 19:25Robert BurkeRobert BurkeScore: 4,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:254,40229,392,86112,073,0002,012,0002,281,472
2Apr 18, 2024 19:254,40740,682,64212,087,0002,014,0002,445,312
3Apr 18, 2024 19:254,40735,099,87412,087,0002,014,0002,281,472
4Apr 18, 2024 19:254,41028,404,74912,096,0002,016,0002,281,472
5Apr 18, 2024 19:254,41229,336,28812,101,0002,016,0002,453,504
6Apr 18, 2024 19:254,41334,220,40012,105,0002,017,0002,281,472
7Apr 18, 2024 19:254,41434,773,74512,107,0002,017,0002,453,504
8Apr 18, 2024 19:254,44332,003,93013,203,0001,015,0002,281,472
9Apr 18, 2024 19:254,44530,297,28012,192,0002,032,0002,445,312
10Apr 18, 2024 19:254,67890,764,39914,968,62802,256,896
11Apr 18, 2024 19:254,68585,736,77214,991,31602,215,936
12Apr 18, 2024 19:254,69896,882,16715,034,93502,195,456