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 16, 2024 13:54Robert BlackwellRobert BlackwellScore: 5,429Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 13:545,40638,087,43116,282,0001,017,0002,527,232
2Apr 16, 2024 13:545,40944,126,68516,290,0001,018,0002,510,848
3Apr 16, 2024 13:545,42438,794,90417,358,00002,265,088
4Apr 16, 2024 13:545,42638,903,85716,342,0001,021,0002,387,968
5Apr 16, 2024 13:545,42839,211,45716,348,0001,021,0002,265,088
6Apr 16, 2024 13:545,42834,553,64116,349,0001,021,0002,387,968
7Apr 16, 2024 13:545,42928,855,95116,351,0001,021,0002,265,088
8Apr 16, 2024 13:545,43150,097,11416,356,0001,022,0002,265,088
9Apr 16, 2024 13:545,43740,087,32217,398,00002,506,752
10Apr 16, 2024 13:545,58079,115,48117,856,48402,285,568
11Apr 16, 2024 13:545,59757,864,05417,909,09002,281,472
12Apr 16, 2024 13:545,62094,461,46817,984,02902,289,664