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:25Yuriy LyfenkoYuriy LyfenkoScore: 4,443Success
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:254,423545,017,15012,131,0002,021,0002,523,136
2Sep 7, 2022 02:254,424539,986,10112,135,0002,022,0002,265,088
3Sep 7, 2022 02:254,431539,002,89213,168,0001,012,0002,523,136
4Sep 7, 2022 02:254,432538,234,26512,157,0002,026,0002,527,232
5Sep 7, 2022 02:254,433544,485,66712,158,0002,026,0002,265,088
6Sep 7, 2022 02:254,434545,383,53113,175,0001,013,0002,523,136
7Sep 7, 2022 02:254,443537,415,02512,187,0002,031,0002,260,992
8Sep 7, 2022 02:254,449550,766,83713,220,0001,016,0002,265,088
9Sep 7, 2022 02:254,451540,844,80713,226,0001,017,0002,392,064
10Sep 7, 2022 02:254,598585,095,31214,714,80202,240,512
11Sep 7, 2022 02:254,605563,988,06214,735,28702,244,608
12Sep 7, 2022 02:254,616568,457,08214,771,93002,277,376