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 05:12Yuriy LyfenkoYuriy LyfenkoScore: 5,094Success
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 05:125,06244,230,79014,173,0002,024,0002,265,088
2May 24, 2021 05:125,07038,222,76914,197,0002,028,0002,396,160
3May 24, 2021 05:125,07241,897,11114,202,0002,028,0002,392,064
4May 24, 2021 05:125,08335,706,87815,250,0001,016,0002,265,088
5May 24, 2021 05:125,08833,581,30915,265,0001,017,0002,387,968
6May 24, 2021 05:125,09431,937,71915,282,0001,018,0002,265,088
7May 24, 2021 05:125,09438,469,22115,283,0001,018,0002,387,968
8May 24, 2021 05:125,10442,298,43914,291,0002,041,0002,527,232
9May 24, 2021 05:125,12132,838,26916,388,00002,387,968
10May 24, 2021 05:125,25988,999,41216,829,89902,273,280
11May 24, 2021 05:125,35476,271,59617,134,37402,269,184
12May 24, 2021 05:125,38873,919,96917,240,12302,273,280