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 11, 2021 20:16Yuriy LyfenkoYuriy LyfenkoScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 20:165,53848,509,69516,678,0001,042,0002,523,136
2May 11, 2021 20:165,58246,927,03115,877,0001,984,0002,392,064
3May 11, 2021 20:165,58243,877,60715,878,0001,984,0002,387,968
4May 11, 2021 20:165,58340,401,80815,880,0001,985,0002,523,136
5May 11, 2021 20:165,58436,243,76915,885,0001,985,0002,387,968
6May 11, 2021 20:165,58442,400,19216,878,000992,0002,260,992
7May 11, 2021 20:165,58545,616,49715,887,0001,985,0002,260,992
8May 11, 2021 20:165,58536,665,94117,872,00002,523,136
9May 11, 2021 20:165,59749,166,18916,856,0001,053,0002,396,160
10May 11, 2021 20:165,70184,737,89818,244,26102,285,568
11May 11, 2021 20:165,721101,304,50918,307,57502,277,376
12May 11, 2021 20:165,76782,055,40418,454,95402,277,376