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 listJul 6, 2021 00:15Yuriy LyfenkoYuriy LyfenkoScore: 5,082Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:155,03045,991,17714,084,0002,012,0002,265,088
2Jul 6, 2021 00:155,04943,011,31314,137,0002,019,0002,519,040
3Jul 6, 2021 00:155,05233,918,39814,146,0002,020,0002,265,088
4Jul 6, 2021 00:155,06449,974,14614,181,0002,025,0002,265,088
5Jul 6, 2021 00:155,06535,247,84714,183,0002,026,0002,387,968
6Jul 6, 2021 00:155,07346,615,15315,220,0001,014,0002,265,088
7Jul 6, 2021 00:155,08231,864,05315,245,0001,016,0002,396,160
8Jul 6, 2021 00:155,09142,586,29115,272,0001,018,0002,265,088
9Jul 6, 2021 00:155,10835,153,19815,324,0001,021,0002,392,064
10Jul 6, 2021 00:155,25077,457,08916,799,81602,281,472
11Jul 6, 2021 00:155,28185,349,00916,898,14102,273,280
12Jul 6, 2021 00:155,28659,587,40416,916,61602,273,280