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 listJul 28, 2024 09:31BenBenScore: 4,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:314,58329,881,36113,619,0001,047,0002,387,968
2Jul 28, 2024 09:314,59530,211,74313,653,0001,050,0002,527,232
3Jul 28, 2024 09:314,59530,229,09613,655,0001,050,0002,379,776
4Jul 28, 2024 09:314,59841,154,04413,664,0001,051,0002,510,848
5Jul 28, 2024 09:314,60034,031,11214,721,00002,265,088
6Jul 28, 2024 09:314,64241,258,41713,864,000990,0002,383,872
7Jul 28, 2024 09:314,64532,015,11014,863,00002,265,088
8Jul 28, 2024 09:314,64830,555,60012,891,0001,983,0002,392,064
9Jul 28, 2024 09:314,64841,894,52913,884,000991,0002,400,256
10Jul 28, 2024 09:314,84988,494,47115,515,98902,289,664
11Jul 28, 2024 09:314,85367,546,24615,528,43102,289,664
12Jul 28, 2024 09:314,86156,767,05315,556,22902,277,376