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 12, 2024 03:46Yuriy LyfenkoYuriy LyfenkoScore: 4,456Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:464,437539,343,07614,198,00002,265,088
2Jun 12, 2024 03:464,438535,835,52212,172,0002,028,0002,523,136
3Jun 12, 2024 03:464,439541,323,73913,190,0001,014,0002,527,232
4Jun 12, 2024 03:464,442536,045,45113,200,0001,015,0002,265,088
5Jun 12, 2024 03:464,446547,260,38914,228,00002,523,136
6Jun 12, 2024 03:464,452536,513,54213,229,0001,017,0002,265,088
7Jun 12, 2024 03:464,456537,461,70013,240,0001,018,0002,523,136
8Jun 12, 2024 03:464,473536,729,56713,292,0001,022,0002,523,136
9Jun 12, 2024 03:464,475538,055,43114,319,00002,265,088
10Jun 12, 2024 03:464,644570,356,06914,859,80302,240,512
11Jun 12, 2024 03:464,654569,605,69914,892,03302,285,568
12Jun 12, 2024 03:464,658588,927,02014,904,84002,273,280