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 listMay 24, 2021 06:34Yuriy LyfenkoYuriy LyfenkoScore: 5,109Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:345,06041,997,66315,181,0001,012,0002,396,160
2May 24, 2021 06:345,06150,618,97914,172,0002,024,0002,265,088
3May 24, 2021 06:345,07831,158,43014,220,0002,031,0002,383,872
4May 24, 2021 06:345,09232,879,55215,277,0001,018,0002,387,968
5May 24, 2021 06:345,10436,325,96014,293,0002,041,0002,265,088
6May 24, 2021 06:345,10643,887,70815,318,0001,021,0002,383,872
7May 24, 2021 06:345,10937,907,85315,388,000961,0002,265,088
8May 24, 2021 06:345,11342,124,98315,341,0001,022,0002,265,088
9May 24, 2021 06:345,12540,467,94816,401,00002,387,968
10May 24, 2021 06:345,283112,348,41616,904,52602,281,472
11May 24, 2021 06:345,32480,055,41217,036,57602,277,376
12May 24, 2021 06:345,40477,230,80117,293,83602,273,280