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:47Ryan 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:475,46387,351,57517,482,32402,297,856
2Feb 28, 2024 04:475,50997,797,34117,629,07402,174,976
3Feb 28, 2024 04:475,52056,083,47417,663,20902,301,952
4Feb 28, 2024 04:475,58244,882,16517,861,00002,400,256
5Feb 28, 2024 04:475,58741,364,08216,884,000993,0002,281,472
6Feb 28, 2024 04:475,58734,916,77816,884,000993,0002,281,472
7Feb 28, 2024 04:475,58948,022,89816,892,000993,0002,281,472
8Feb 28, 2024 04:475,59046,729,90616,896,000993,0002,400,256
9Feb 28, 2024 04:475,59037,078,06815,902,0001,987,0002,281,472
10Feb 28, 2024 04:475,59342,536,31215,908,0001,988,0002,408,448
11Feb 28, 2024 04:475,59343,734,07316,902,000994,0002,400,256
12Feb 28, 2024 04:475,59844,070,05416,862,0001,053,0002,400,256