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 30, 2024 13:55AnSaAnSaScore: 4,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:554,67135,386,83513,951,000996,0002,498,560
2Jun 30, 2024 13:554,68538,999,21413,994,000999,0002,269,184
3Jun 30, 2024 13:554,69035,379,30014,007,0001,000,0002,269,184
4Jun 30, 2024 13:554,69137,115,31114,011,0001,000,0002,498,560
5Jun 30, 2024 13:554,69230,027,10013,012,0002,001,0002,269,184
6Jun 30, 2024 13:554,70537,840,20113,048,0002,007,0002,494,464
7Jun 30, 2024 13:554,70632,225,79612,048,0003,012,0002,498,560
8Jun 30, 2024 13:554,72632,140,05614,115,0001,008,0002,531,328
9Jun 30, 2024 13:554,73230,008,47914,133,0001,009,0002,269,184
10Jun 30, 2024 13:554,95387,640,54615,849,30702,379,776
11Jun 30, 2024 13:554,97473,242,85715,917,28602,375,680
12Jun 30, 2024 13:554,98182,220,49115,939,93102,375,680