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 04:27Yuriy LyfenkoYuriy LyfenkoScore: 4,558Success
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 04:274,510537,051,67513,402,0001,030,0002,260,992
2Sep 7, 2022 04:274,515535,492,22513,416,0001,032,0002,400,256
3Sep 7, 2022 04:274,517538,200,25713,423,0001,032,0002,260,992
4Sep 7, 2022 04:274,543541,151,02814,536,00002,523,136
5Sep 7, 2022 04:274,548540,591,65013,515,0001,039,0002,265,088
6Sep 7, 2022 04:274,552541,058,60414,566,00002,265,088
7Sep 7, 2022 04:274,558542,897,86113,544,0001,041,0002,523,136
8Sep 7, 2022 04:274,569545,902,01313,576,0001,044,0002,523,136
9Sep 7, 2022 04:274,577542,846,44613,599,0001,046,0002,523,136
10Sep 7, 2022 04:274,689582,755,20015,003,36402,269,184
11Sep 7, 2022 04:274,697599,554,82515,031,74402,244,608
12Sep 7, 2022 04:274,716588,610,94615,092,62802,244,608