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 listAug 5, 2024 16:47Bernard TeoBernard TeoScore: 4,800Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2024 16:474,775100,431,10915,278,79302,269,184
2Aug 5, 2024 16:584,78183,629,78715,299,53602,256,896
3Aug 5, 2024 17:014,78596,475,41315,310,61702,297,856
4Aug 5, 2024 17:024,78895,118,00515,322,07402,293,760
5Aug 5, 2024 17:024,78879,774,86715,320,35602,285,568
6Aug 5, 2024 17:024,789101,868,58915,324,33702,297,856
7Aug 5, 2024 17:014,79591,997,17215,342,82002,297,856
8Aug 5, 2024 17:024,79586,321,93715,342,66802,310,144
9Aug 5, 2024 17:034,79687,754,00915,347,35502,293,760
10Aug 5, 2024 17:034,79786,919,30615,349,43402,293,760
11Aug 5, 2024 17:034,80085,385,94015,359,62102,301,952
12Aug 5, 2024 16:474,80162,726,62915,364,05702,306,048
13Aug 5, 2024 17:034,801105,290,25015,363,20402,301,952
14Aug 5, 2024 16:584,80762,876,88415,382,39402,293,760
15Aug 5, 2024 17:034,81359,980,34015,401,51702,301,952
16Aug 5, 2024 17:014,82188,441,79415,426,51202,301,952
17Aug 5, 2024 16:584,82267,259,25815,431,12602,297,856
18Aug 5, 2024 17:034,82390,701,13715,434,05602,297,856
19Aug 5, 2024 17:024,82492,829,18515,437,22202,285,568
20Aug 5, 2024 16:474,82583,989,71715,440,84402,289,664
21Aug 5, 2024 17:024,84571,250,35215,503,14502,293,760