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 30, 2021 16:48Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:4500000Error: expected "975504 ", got "543 15187 975504 "
2May 30, 2021 16:485,01337,424,20815,039,0001,002,0002,265,088
3May 30, 2021 16:485,02347,911,15714,065,0002,009,0002,265,088
4May 30, 2021 16:485,02837,510,03415,083,0001,005,0002,265,088
5May 30, 2021 16:485,02944,922,54715,088,0001,005,0002,265,088
6May 30, 2021 16:485,03140,077,48715,093,0001,006,0002,510,848
7May 30, 2021 16:485,05033,428,89915,150,0001,010,0002,527,232
8May 30, 2021 16:485,06235,546,19914,173,0002,024,0002,396,160
9May 30, 2021 16:485,06443,216,86014,179,0002,025,0002,265,088
10May 30, 2021 16:485,07332,612,81415,219,0001,014,0002,527,232
11May 30, 2021 16:485,22295,006,21416,710,22502,277,376
12May 30, 2021 16:485,23455,461,11316,747,39602,285,568
13May 30, 2021 16:485,25177,459,33816,803,53402,281,472