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 listMay 13, 2021 23:25Yuriy LyfenkoYuriy LyfenkoScore: 5,454Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 23:255,42641,035,67516,342,0001,021,0002,523,136
2May 13, 2021 23:255,42943,705,58216,352,0001,022,0002,400,256
3May 13, 2021 23:255,43244,970,67516,359,0001,022,0002,523,136
4May 13, 2021 23:255,43338,524,47017,386,00002,396,160
5May 13, 2021 23:255,43832,863,77516,379,0001,023,0002,400,256
6May 13, 2021 23:255,44947,911,57816,412,0001,025,0002,523,136
7May 13, 2021 23:255,45440,059,17316,427,0001,026,0002,396,160
8May 13, 2021 23:255,46044,713,24916,446,0001,027,0002,523,136
9May 13, 2021 23:255,46734,540,67416,464,0001,029,0002,260,992
10May 13, 2021 23:255,68579,058,81018,191,01502,285,568
11May 13, 2021 23:255,68793,304,86018,199,02502,281,472
12May 13, 2021 23:255,70678,920,45918,260,03602,281,472