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 15, 2025 01:49BenBenScore: 4,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2025 01:494,60630,366,45613,686,0001,052,0002,387,968
2Apr 15, 2025 01:504,63642,467,34813,847,000989,0002,387,968
3Apr 15, 2025 01:454,63832,620,00513,851,000989,0002,392,064
4Apr 15, 2025 01:504,64949,359,80114,877,00002,523,136
5Apr 15, 2025 01:494,65141,949,88112,900,0001,984,0002,519,040
6Apr 15, 2025 01:454,65232,060,11312,901,0001,984,0002,523,136
7Apr 15, 2025 01:454,65333,191,42213,897,000992,0002,392,064
8Apr 15, 2025 01:494,65336,280,58512,904,0001,985,0002,523,136
9Apr 15, 2025 01:504,65434,425,56613,901,000992,0002,523,136
10Apr 15, 2025 01:495,09332,905,79014,260,0002,037,0002,392,064
11Apr 15, 2025 01:495,10341,962,93914,288,0002,041,0002,260,992
12Apr 15, 2025 01:495,11939,853,87015,359,0001,023,0002,523,136