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 listJan 22, 2024 13:24AnSaAnSaScore: 7,519,620Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 13:247,503,36624,071,130,40624,010,772,28902,269,184
2Jan 22, 2024 13:247,519,62024,118,054,94824,062,783,87602,265,088
3Jan 22, 2024 13:247,565,84624,279,957,18024,210,706,82202,273,280