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 29, 2021 16:15Dmitry DolgopolovDmitry DolgopolovScore: 5,319Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:155,29738,075,68614,957,0001,994,0002,535,424
2May 29, 2021 16:155,30037,132,80114,964,0001,995,0002,453,504
3May 29, 2021 16:155,30239,951,32114,971,0001,996,0002,535,424
4May 29, 2021 16:155,30341,443,21214,973,0001,996,0002,441,216
5May 29, 2021 16:155,30848,539,51114,988,0001,998,0002,449,408
6May 29, 2021 16:155,30833,150,00414,989,0001,998,0002,449,408
7May 29, 2021 16:155,31937,854,51315,018,0002,002,0002,441,216
8May 29, 2021 16:155,33737,045,02215,069,0002,009,0002,273,280
9May 29, 2021 16:155,33841,427,90015,072,0002,009,0002,449,408
10May 29, 2021 16:155,52885,788,47717,688,76702,203,648
11May 29, 2021 16:155,54560,653,97917,744,96602,199,552
12May 29, 2021 16:155,56791,536,84017,815,39202,195,456