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 listDec 28, 2024 18:51NeoNeoScore: 5,781Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2024 18:515,74742,658,61417,368,0001,021,0002,523,136
2Dec 28, 2024 18:515,75239,440,19316,361,0002,045,0002,277,376
3Dec 28, 2024 18:515,77739,697,97218,485,00002,289,664
4Dec 28, 2024 18:515,77840,533,57917,461,0001,027,0002,289,664
5Dec 28, 2024 18:515,78143,999,35816,443,0002,055,0002,289,664
6Dec 28, 2024 18:515,79042,343,67917,500,0001,029,0002,289,664
7Dec 28, 2024 18:515,79841,392,07118,552,00002,289,664
8Dec 28, 2024 18:515,80939,837,04618,588,00002,289,664
9Dec 28, 2024 18:515,82847,730,99817,612,0001,036,0002,273,280