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 listSep 7, 2022 02:28Yuriy LyfenkoYuriy LyfenkoScore: 4,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:284,402538,017,44412,075,0002,012,0002,523,136
2Sep 7, 2022 02:284,405539,262,58013,090,0001,006,0002,265,088
3Sep 7, 2022 02:284,415544,199,04712,110,0002,018,0002,260,992
4Sep 7, 2022 02:284,424545,533,08712,134,0002,022,0002,523,136
5Sep 7, 2022 02:284,433542,951,43312,158,0002,026,0002,523,136
6Sep 7, 2022 02:284,433543,883,06214,186,00002,523,136
7Sep 7, 2022 02:284,438540,499,75513,187,0001,014,0002,387,968
8Sep 7, 2022 02:284,443538,144,91412,187,0002,031,0002,260,992
9Sep 7, 2022 02:284,445535,300,88914,224,00002,523,136
10Sep 7, 2022 02:284,590567,577,32814,686,92502,240,512
11Sep 7, 2022 02:284,598573,830,21514,713,54302,277,376
12Sep 7, 2022 02:284,604576,039,08314,734,08702,240,512