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 28, 2021 20:48Dmitry DolgopolovDmitry DolgopolovScore: 5,020Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:484,99544,071,40513,987,0001,998,0002,273,280
2May 28, 2021 20:484,99735,770,69913,992,0001,998,0002,445,312
3May 28, 2021 20:484,99832,221,78913,994,0001,999,0002,535,424
4May 28, 2021 20:484,99831,302,54113,996,0001,999,0002,273,280
5May 28, 2021 20:485,00138,699,54014,003,0002,000,0002,441,216
6May 28, 2021 20:485,01440,639,86415,044,0001,002,0002,523,136
7May 28, 2021 20:485,02040,944,40814,057,0002,008,0002,437,120
8May 28, 2021 20:485,03131,755,68214,088,0002,012,0002,437,120
9May 28, 2021 20:485,04137,022,69714,114,0002,016,0002,453,504
10May 28, 2021 20:485,24047,718,99416,768,80102,203,648
11May 28, 2021 20:485,24056,271,77316,767,92502,260,992
12May 28, 2021 20:485,25962,545,21616,829,69702,195,456