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 listJul 21, 2023 16:30gchebanovgchebanovScore: 5,215Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2023 16:305,16334,519,70415,488,0001,032,0002,408,448
2Jul 21, 2023 16:305,17441,998,47015,524,0001,034,0002,408,448
3Jul 21, 2023 16:305,17836,583,78615,533,0001,035,0002,285,568
4Jul 21, 2023 16:305,19234,895,81115,577,0001,038,0002,408,448
5Jul 21, 2023 16:305,19344,637,87616,619,00002,285,568
6Jul 21, 2023 16:305,19441,468,18515,584,0001,038,0002,412,544
7Jul 21, 2023 16:305,21533,643,00116,689,00002,285,568
8Jul 21, 2023 16:305,22643,144,83916,723,00002,519,040
9Jul 21, 2023 16:305,26832,807,99414,874,0001,983,0002,285,568
10Jul 21, 2023 16:305,37390,297,25317,192,90702,174,976
11Jul 21, 2023 16:305,37385,048,35217,195,13402,297,856
12Jul 21, 2023 16:305,42058,325,87317,343,55902,301,952