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 24, 2021 06:32Yuriy LyfenkoYuriy LyfenkoScore: 5,096Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:325,05443,746,93014,153,0002,021,0002,392,064
2May 24, 2021 06:325,05839,193,84614,164,0002,023,0002,265,088
3May 24, 2021 06:325,06141,015,11714,172,0002,024,0002,265,088
4May 24, 2021 06:325,07038,979,41815,210,0001,014,0002,265,088
5May 24, 2021 06:325,07143,796,15214,199,0002,028,0002,265,088
6May 24, 2021 06:325,07834,270,17115,233,0001,015,0002,396,160
7May 24, 2021 06:325,09643,049,39115,288,0001,019,0002,265,088
8May 24, 2021 06:325,11837,817,48116,379,00002,506,752
9May 24, 2021 06:325,13734,399,13014,383,0002,054,0002,265,088
10May 24, 2021 06:325,34985,083,41517,115,86002,277,376
11May 24, 2021 06:325,36788,484,39917,174,86702,265,088
12May 24, 2021 06:325,37874,989,49717,209,95402,281,472