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 23, 2025 04:06vahookvahookError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 04:0600000Error: expected "975079 ", got "975319 "stderr
2Apr 23, 2025 04:074,15926,684,06513,310,00002,273,280
3Apr 23, 2025 04:074,18431,604,89013,390,00002,273,280
4Apr 23, 2025 04:064,19126,274,20713,412,00002,273,280
5Apr 23, 2025 04:064,20334,609,35013,451,00002,494,464
6Apr 23, 2025 04:064,21734,580,81313,493,00002,506,752
7Apr 23, 2025 04:074,23126,943,59413,540,00002,531,328