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 29, 2024 06:52Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 29, 2024 06:525,45442,316,23616,426,0001,026,0002,281,472
2Feb 29, 2024 06:525,46542,085,34316,459,0001,028,0002,281,472
3Feb 29, 2024 06:525,47440,522,20116,487,0001,030,0002,396,160
4Feb 29, 2024 06:525,47637,457,92717,522,00002,396,160
5Feb 29, 2024 06:525,48142,895,56417,538,00002,396,160
6Feb 29, 2024 06:525,49742,123,85917,590,00002,408,448
7Feb 29, 2024 06:525,50343,675,62517,610,00002,400,256
8Feb 29, 2024 06:525,50441,452,03315,656,0001,957,0002,281,472
9Feb 29, 2024 06:525,50973,744,79217,630,24802,301,952
10Feb 29, 2024 06:525,51680,253,54817,649,87202,289,664
11Feb 29, 2024 06:525,52745,999,13516,646,0001,040,0002,400,256
12Feb 29, 2024 06:525,54187,099,35217,729,89102,297,856