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 19:05Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,641Success
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 19:055,60289,222,44217,925,39402,285,568
2Feb 27, 2024 19:055,61989,566,42417,979,82002,293,760
3Feb 27, 2024 19:055,62239,225,40816,990,000999,0002,281,472
4Feb 27, 2024 19:055,62640,983,13416,002,0002,000,0002,281,472
5Feb 27, 2024 19:055,63844,747,85217,040,0001,002,0002,400,256
6Feb 27, 2024 19:055,63842,761,69416,038,0002,004,0002,281,472
7Feb 27, 2024 19:055,64136,679,22116,045,0002,005,0002,396,160
8Feb 27, 2024 19:055,64277,826,51218,055,43802,289,664
9Feb 27, 2024 19:055,65134,142,23417,078,0001,004,0002,281,472
10Feb 27, 2024 19:055,65648,189,17717,093,0001,005,0002,396,160
11Feb 27, 2024 19:055,65741,914,24617,097,0001,005,0002,281,472
12Feb 27, 2024 19:055,66039,343,89617,105,0001,006,0002,396,160