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 18:26evgenikwtevgenikwtScore: 5,284Success
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 18:265,26938,466,84715,869,000991,0002,396,160
2Jun 8, 2021 18:265,27138,117,49415,876,000992,0002,387,968
3Jun 8, 2021 18:265,27337,339,97914,888,0001,985,0002,265,088
4Jun 8, 2021 18:265,27434,842,41814,891,0001,985,0002,379,776
5Jun 8, 2021 18:265,27642,731,52315,889,000993,0002,387,968
6Jun 8, 2021 18:265,28044,622,25314,909,0001,987,0002,265,088
7Jun 8, 2021 18:265,28441,910,39614,920,0001,989,0002,265,088
8Jun 8, 2021 18:265,28744,411,69315,922,000995,0002,527,232
9Jun 8, 2021 18:265,29339,341,25315,940,000996,0002,379,776
10Jun 8, 2021 18:265,46489,101,03317,485,84002,269,184
11Jun 8, 2021 18:265,47085,113,03517,502,57202,285,568
12Jun 8, 2021 18:265,48194,648,00517,539,89102,289,664