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 21, 2024 15:33Franek KortaFranek KortaScore: 4,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 15:334,51532,780,57314,449,00002,531,328
2Jan 21, 2024 15:334,52237,537,43714,469,00002,441,216
3Jan 21, 2024 15:334,53230,149,70214,503,00002,531,328
4Jan 21, 2024 15:334,53335,307,69914,506,00002,441,216
5Jan 21, 2024 15:334,53436,322,61314,509,00002,445,312
6Jan 21, 2024 15:334,53537,921,22314,513,00002,445,312
7Jan 21, 2024 15:334,53933,845,67313,488,0001,037,0002,441,216
8Jan 21, 2024 15:334,54228,857,35714,534,00002,269,184
9Jan 21, 2024 15:334,54633,371,34214,546,00002,531,328
10Jan 21, 2024 15:334,79486,242,99615,342,36902,183,168
11Jan 21, 2024 15:334,80577,451,60915,374,94202,187,264
12Jan 21, 2024 15:334,81288,477,32515,397,58502,195,456