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 listApr 17, 2024 18:43Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 18:4300000Error: expected "976195 ", got "976194 "
2Apr 17, 2024 18:4300000Error: expected "977482 ", got "977481 "
3Apr 20, 2024 14:4400000Error: expected "974196 ", got "974195 "
4Apr 20, 2024 14:435,02286,057,98616,070,14502,301,952
5Apr 20, 2024 14:435,06167,981,74716,195,70502,174,976
6Apr 20, 2024 14:505,07485,151,01816,238,31502,297,856
7Apr 20, 2024 14:505,08385,505,73616,265,42202,301,952
8Apr 20, 2024 14:435,09080,894,89916,287,93402,179,072
9Apr 20, 2024 14:505,12276,598,21516,390,14602,301,952