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 listMay 23, 2021 22:59Yuriy LyfenkoYuriy LyfenkoScore: 5,095Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 22:595,05344,848,36315,158,0001,010,0002,265,088
2May 23, 2021 22:595,05439,368,25215,162,0001,010,0002,392,064
3May 23, 2021 22:595,05436,036,47714,152,0002,021,0002,396,160
4May 23, 2021 22:595,06138,543,47815,184,0001,012,0002,265,088
5May 23, 2021 22:595,08741,903,36215,261,0001,017,0002,265,088
6May 23, 2021 22:595,08830,629,03414,245,0002,035,0002,527,232
7May 23, 2021 22:595,09539,154,46215,286,0001,019,0002,387,968
8May 23, 2021 22:595,11034,907,34915,330,0001,022,0002,400,256
9May 23, 2021 22:595,12146,444,34015,362,0001,024,0002,510,848
10May 23, 2021 22:595,25782,229,89016,822,29202,265,088
11May 23, 2021 22:595,30978,834,51416,988,14102,285,568
12May 23, 2021 22:595,36379,030,74417,160,31602,269,184