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 01:14evgenikwtevgenikwtScore: 5,303Success
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 01:145,27745,003,28414,901,0001,986,0002,387,968
2Jun 5, 2021 01:145,27837,118,43215,896,000993,0002,396,160
3Jun 5, 2021 01:145,27841,682,90316,889,00002,265,088
4Jun 5, 2021 01:145,28338,464,87714,917,0001,988,0002,265,088
5Jun 5, 2021 01:145,28442,594,46915,914,000994,0002,387,968
6Jun 5, 2021 01:145,28536,866,60015,855,0001,057,0002,387,968
7Jun 5, 2021 01:145,30339,210,37915,970,000998,0002,265,088
8Jun 5, 2021 01:145,31432,666,08116,006,0001,000,0002,379,776
9Jun 5, 2021 01:145,32334,369,63415,031,0002,004,0002,527,232
10Jun 5, 2021 01:145,48183,512,44017,539,11302,281,472
11Jun 5, 2021 01:145,49181,360,72417,570,24502,273,280
12Jun 5, 2021 01:145,51877,273,08317,658,08802,281,472