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 16, 2021 13:52Yuriy LyfenkoYuriy LyfenkoScore: 5,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:525,42137,878,28114,285,0003,061,0002,383,872
2May 16, 2021 13:525,43641,427,02516,372,0001,023,0002,396,160
3May 16, 2021 13:525,43738,002,01916,376,0001,023,0002,506,752
4May 16, 2021 13:525,44038,070,06814,336,0003,072,0002,519,040
5May 16, 2021 13:525,44638,766,29716,403,0001,025,0002,523,136
6May 16, 2021 13:525,44740,169,84516,404,0001,025,0002,519,040
7May 16, 2021 13:525,45534,434,98715,403,0002,053,0002,519,040
8May 16, 2021 13:525,46138,260,11616,447,0001,027,0002,396,160
9May 16, 2021 13:525,46342,989,73417,481,00002,387,968
10May 16, 2021 13:525,69178,635,85818,209,73102,277,376
11May 16, 2021 13:525,70583,465,80018,257,44702,273,280
12May 16, 2021 13:525,70982,818,78918,267,72002,285,568