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:43Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,462Success
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:435,43233,017,16116,361,0001,022,0002,404,352
2Feb 28, 2024 04:435,44439,213,17916,398,0001,024,0002,281,472
3Feb 28, 2024 04:435,45240,463,39016,419,0001,026,0002,281,472
4Feb 28, 2024 04:435,45236,052,23216,421,0001,026,0002,400,256
5Feb 28, 2024 04:435,45437,169,80916,428,0001,026,0002,281,472
6Feb 28, 2024 04:435,46141,641,37416,448,0001,028,0002,281,472
7Feb 28, 2024 04:435,46233,999,70217,478,00002,281,472
8Feb 28, 2024 04:435,47341,064,32416,485,0001,030,0002,281,472
9Feb 28, 2024 04:435,47542,023,67317,520,00002,281,472
10Feb 28, 2024 04:435,68686,200,96518,194,87502,301,952
11Feb 28, 2024 04:435,68884,531,73418,202,11402,297,856
12Feb 28, 2024 04:435,69098,024,59318,207,45302,289,664