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:06Yuriy LyfenkoYuriy LyfenkoScore: 4,441Success
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:064,401538,080,12313,077,0001,005,0002,523,136
2Sep 7, 2022 03:064,402539,808,61513,080,0001,006,0002,523,136
3Sep 7, 2022 03:064,403539,703,28713,082,0001,006,0002,523,136
4Sep 7, 2022 03:064,408543,989,16613,099,0001,007,0002,265,088
5Sep 7, 2022 03:064,413538,834,56713,115,0001,008,0002,523,136
6Sep 7, 2022 03:064,427541,991,39712,142,0002,023,0002,519,040
7Sep 7, 2022 03:064,441538,412,71612,181,0002,030,0002,523,136
8Sep 7, 2022 03:064,443546,184,24812,187,0002,031,0002,265,088
9Sep 7, 2022 03:064,450540,725,76612,341,0001,898,0002,396,160
10Sep 7, 2022 03:064,606573,752,60014,738,96002,240,512
11Sep 7, 2022 03:064,614571,718,62714,765,83402,269,184
12Sep 7, 2022 03:064,634583,244,60614,830,03602,240,512