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 10, 2023 08:42parsersmailparsersmailScore: 5,759Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2023 08:425,68843,025,49417,191,0001,011,0002,285,568
2Aug 10, 2023 08:425,70141,462,58117,230,0001,013,0002,297,856
3Aug 10, 2023 08:425,72544,126,23016,284,0002,035,0002,285,568
4Aug 10, 2023 08:425,72539,441,79314,249,0004,071,0002,301,952
5Aug 10, 2023 08:425,74432,255,32817,359,0001,021,0002,347,008
6Aug 10, 2023 08:425,75971,829,61918,427,80802,248,704
7Aug 10, 2023 08:425,75940,195,09716,382,0002,047,0002,297,856
8Aug 10, 2023 08:425,78343,549,44918,505,00002,424,832
9Aug 10, 2023 08:425,79940,772,56016,496,0002,062,0002,342,912
10Aug 10, 2023 08:425,80489,334,86118,572,26802,256,896
11Aug 10, 2023 08:425,82547,476,81217,605,0001,035,0002,519,040
12Aug 10, 2023 08:426,03296,872,06419,301,82502,256,896