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 7, 2021 23:48evgenikwtevgenikwtScore: 5,316Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2021 23:485,28746,969,51715,860,0001,057,0002,269,184
2Jun 7, 2021 23:485,29234,132,65615,938,000996,0002,265,088
3Jun 7, 2021 23:485,29433,567,62615,946,000996,0002,265,088
4Jun 7, 2021 23:485,29536,486,88615,948,000996,0002,265,088
5Jun 7, 2021 23:485,30044,778,85314,965,0001,995,0002,265,088
6Jun 7, 2021 23:485,31245,236,88114,999,0001,999,0002,265,088
7Jun 7, 2021 23:485,31634,797,82816,012,0001,000,0002,392,064
8Jun 7, 2021 23:485,32942,842,16915,047,0002,006,0002,265,088
9Jun 7, 2021 23:485,33938,145,11715,075,0002,010,0002,527,232
10Jun 7, 2021 23:485,47066,387,72117,503,48002,281,472
11Jun 7, 2021 23:485,49772,355,48717,589,60602,285,568
12Jun 7, 2021 23:485,51076,825,15317,631,56602,277,376