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:23Yuriy LyfenkoYuriy LyfenkoScore: 4,500Success
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:234,44438,119,30512,191,0002,031,0002,265,088
2Sep 7, 2022 02:234,45532,420,27913,237,0001,018,0002,265,088
3Sep 7, 2022 02:234,45642,429,30912,222,0002,037,0002,396,160
4Sep 7, 2022 02:234,46335,844,83712,241,0002,040,0002,387,968
5Sep 7, 2022 02:234,47231,176,98612,267,0002,044,0002,265,088
6Sep 7, 2022 02:234,47933,098,91913,309,0001,023,0002,265,088
7Sep 7, 2022 02:234,50031,278,91213,372,0001,028,0002,392,064
8Sep 7, 2022 02:234,50233,803,11912,348,0002,058,0002,482,176
9Sep 7, 2022 02:234,50332,744,59214,408,00002,265,088
10Sep 7, 2022 02:234,67379,084,77614,954,05502,277,376
11Sep 7, 2022 02:234,68794,333,02414,998,21302,277,376
12Sep 7, 2022 02:234,72490,519,69515,118,12502,281,472