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 5, 2021 00:31evgenikwtevgenikwtScore: 5,287Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 00:315,27143,807,15814,883,0001,984,0002,396,160
2Jun 5, 2021 00:315,27244,200,59315,879,000992,0002,387,968
3Jun 5, 2021 00:315,27442,389,31615,886,000992,0002,265,088
4Jun 5, 2021 00:315,27844,898,65516,888,00002,265,088
5Jun 5, 2021 00:315,27838,115,91415,898,000993,0002,265,088
6Jun 5, 2021 00:315,28433,986,69914,920,0001,989,0002,392,064
7Jun 5, 2021 00:315,28741,203,95715,922,000995,0002,265,088
8Jun 5, 2021 00:315,29145,872,76314,940,0001,992,0002,527,232
9Jun 5, 2021 00:315,29245,699,59314,943,0001,992,0002,265,088
10Jun 5, 2021 00:315,48486,675,40817,549,63902,289,664
11Jun 5, 2021 00:315,49880,498,18217,593,28102,285,568
12Jun 5, 2021 00:315,51290,038,30517,637,17902,265,088