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 listSep 21, 2024 17:02vahookvahookScore: 5,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 21, 2024 17:024,65841,307,40113,914,000993,0002,498,560
2Sep 21, 2024 17:024,67030,792,06113,948,000996,0002,535,424
3Sep 21, 2024 17:024,69337,315,88315,017,00002,277,376
4Sep 21, 2024 17:025,01839,395,41715,056,0001,003,0002,498,560
5Sep 21, 2024 17:025,03235,742,80615,095,0001,006,0002,502,656
6Sep 21, 2024 17:025,05239,787,45515,157,0001,010,0002,498,560