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 28, 2024 04:57Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:575,47183,300,43717,508,26302,301,952
2Feb 28, 2024 04:575,508105,253,94417,625,24102,293,760
3Feb 28, 2024 04:575,51832,281,11717,657,00002,281,472
4Feb 28, 2024 04:575,52386,164,09717,673,59402,297,856
5Feb 28, 2024 04:575,52335,205,15516,636,0001,039,0002,281,472
6Feb 28, 2024 04:575,58948,079,81515,899,0001,987,0002,281,472
7Feb 28, 2024 04:575,58943,024,53116,893,000993,0002,281,472
8Feb 28, 2024 04:575,59240,804,75416,899,000994,0002,281,472
9Feb 28, 2024 04:575,59338,624,18017,896,00002,404,352
10Feb 28, 2024 04:575,59339,409,89315,908,0001,988,0002,396,160
11Feb 28, 2024 04:575,59445,898,42615,912,0001,989,0002,281,472
12Feb 28, 2024 04:575,61239,301,43416,960,000997,0002,281,472