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 8, 2021 00:13Yuriy LyfenkoYuriy LyfenkoScore: 5,066Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 00:135,02542,959,44615,075,0001,005,0002,392,064
2Jul 8, 2021 00:135,03340,241,80614,091,0002,013,0002,265,088
3Jul 8, 2021 00:135,03430,617,53514,095,0002,013,0002,387,968
4Jul 8, 2021 00:135,03745,785,77814,104,0002,014,0002,527,232
5Jul 8, 2021 00:135,04337,016,07815,130,0001,008,0002,265,088
6Jul 8, 2021 00:135,05233,759,14915,155,0001,010,0002,265,088
7Jul 8, 2021 00:135,06636,860,55415,197,0001,013,0002,387,968
8Jul 8, 2021 00:135,06838,231,27014,191,0002,027,0002,265,088
9Jul 8, 2021 00:135,07337,032,90515,220,0001,014,0002,265,088
10Jul 8, 2021 00:135,21590,412,37016,689,24202,244,608
11Jul 8, 2021 00:135,23179,662,60216,738,34202,244,608
12Jul 8, 2021 00:135,26185,348,66116,835,69602,260,992