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 listAug 14, 2022 19:50Franek KortaFranek KortaScore: 5,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2022 19:505,56684,013,17117,812,70102,203,648
2Aug 14, 2022 19:505,58185,310,92917,859,73702,203,648
3Aug 14, 2022 19:505,59570,420,33417,905,08702,203,648
4Aug 14, 2022 19:505,63837,307,93717,038,0001,002,0002,269,184
5Aug 14, 2022 19:505,63841,908,49317,041,0001,002,0002,269,184
6Aug 14, 2022 19:505,65337,655,40417,085,0001,005,0002,531,328
7Aug 14, 2022 19:505,65545,327,08516,087,0002,010,0002,265,088
8Aug 14, 2022 19:505,65841,769,37815,087,0003,017,0002,269,184
9Aug 14, 2022 19:505,67242,150,03817,141,0001,008,0002,437,120
10Aug 14, 2022 19:505,67239,751,02916,133,0002,016,0002,531,328
11Aug 14, 2022 19:505,67539,806,40117,151,0001,008,0002,531,328
12Aug 14, 2022 19:505,68542,671,60617,181,0001,010,0002,527,232