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 03:11Yuriy LyfenkoYuriy LyfenkoScore: 4,449Success
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 03:114,411542,313,24212,100,0002,016,0002,523,136
2Sep 7, 2022 03:114,426541,539,44013,152,0001,011,0002,260,992
3Sep 7, 2022 03:114,426543,950,31713,153,0001,011,0002,523,136
4Sep 7, 2022 03:114,433535,665,69013,174,0001,013,0002,523,136
5Sep 7, 2022 03:114,443537,618,29413,203,0001,015,0002,396,160
6Sep 7, 2022 03:114,446544,486,95912,195,0002,032,0002,523,136
7Sep 7, 2022 03:114,449541,328,61912,203,0002,033,0002,260,992
8Sep 7, 2022 03:114,456542,947,43512,222,0002,037,0002,523,136
9Sep 7, 2022 03:114,467540,035,71514,294,00002,260,992
10Sep 7, 2022 03:114,601570,810,93714,724,26102,240,512
11Sep 7, 2022 03:114,618572,506,30814,778,54102,244,608
12Sep 7, 2022 03:114,619571,182,10614,781,59502,277,376