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 listJan 26, 2024 13:31AnSaAnSaScore: 5,201Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2024 13:315,15833,414,16715,473,0001,031,0002,392,064
2Jan 26, 2024 13:315,16238,627,77515,486,0001,032,0002,285,568
3Jan 26, 2024 13:315,17942,744,89115,537,0001,035,0002,285,568
4Jan 26, 2024 13:315,18336,619,74916,587,00002,408,448
5Jan 26, 2024 13:315,19441,636,44916,620,00002,408,448
6Jan 26, 2024 13:315,19939,129,04516,636,00002,285,568
7Jan 26, 2024 13:315,20148,689,58215,603,0001,040,0002,285,568
8Jan 26, 2024 13:315,21038,978,04415,631,0001,042,0002,285,568
9Jan 26, 2024 13:315,21844,090,74215,653,0001,043,0002,494,464
10Jan 26, 2024 13:315,36873,549,82717,177,28302,297,856
11Jan 26, 2024 13:315,388101,776,30517,241,80702,306,048
12Jan 26, 2024 13:315,40577,501,37317,296,17702,310,144