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 8, 2021 22:04evgenikwtevgenikwtScore: 5,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 22:045,27342,950,19815,882,000992,0002,392,064
2Jun 8, 2021 22:045,27446,572,89515,884,000992,0002,387,968
3Jun 8, 2021 22:045,27443,799,39214,891,0001,985,0002,392,064
4Jun 8, 2021 22:045,27831,277,39414,904,0001,987,0002,265,088
5Jun 8, 2021 22:045,28346,906,22015,910,000994,0002,392,064
6Jun 8, 2021 22:045,28742,028,01915,922,000995,0002,392,064
7Jun 8, 2021 22:045,29549,836,90815,947,000996,0002,265,088
8Jun 8, 2021 22:045,29842,795,80415,956,000997,0002,265,088
9Jun 8, 2021 22:045,35135,198,03316,115,0001,007,0002,502,656
10Jun 8, 2021 22:045,47056,306,93417,502,53502,281,472
11Jun 8, 2021 22:045,47180,591,83617,505,97502,277,376
12Jun 8, 2021 22:045,49873,123,56317,595,07402,277,376