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 listJun 16, 2024 14:01AnSaAnSaScore: 5,491Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 14:015,46038,994,40116,444,0001,027,0002,265,088
2Jun 16, 2024 14:015,46040,480,14616,446,0001,027,0002,289,664
3Jun 16, 2024 14:015,47343,820,60117,512,00002,265,088
4Jun 16, 2024 14:015,47940,227,05517,534,00002,273,280
5Jun 16, 2024 14:015,48233,979,41617,542,00002,289,664
6Jun 16, 2024 14:015,49143,704,98816,537,0001,033,0002,289,664
7Jun 16, 2024 14:015,49140,889,85517,572,00002,289,664
8Jun 16, 2024 14:015,51645,295,51116,612,0001,038,0002,519,040
9Jun 16, 2024 14:015,56847,233,45615,838,0001,979,0002,269,184
10Jun 16, 2024 14:015,72881,007,85718,329,80902,297,856
11Jun 16, 2024 14:015,74567,192,64118,382,54402,301,952
12Jun 16, 2024 14:015,76662,819,41718,450,74202,293,760