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 20, 2022 23:19Franek KortaFranek KortaScore: 5,400Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:195,35640,223,19816,130,0001,008,0002,449,408
2Aug 20, 2022 23:195,36236,574,56016,148,0001,009,0002,433,024
3Aug 20, 2022 23:195,36338,233,88315,143,0002,019,0002,445,312
4Aug 20, 2022 23:195,37333,574,80114,160,0003,034,0002,449,408
5Aug 20, 2022 23:195,37938,804,16416,201,0001,012,0002,449,408
6Aug 20, 2022 23:195,38335,424,84915,199,0002,026,0002,269,184
7Aug 20, 2022 23:195,40037,262,08216,263,0001,016,0002,265,088
8Aug 20, 2022 23:195,40333,060,53617,289,00002,531,328
9Aug 20, 2022 23:195,40734,784,62814,248,0003,053,0002,531,328
10Aug 20, 2022 23:195,64267,752,25418,054,28302,203,648
11Aug 20, 2022 23:195,65881,084,04618,105,30802,199,552
12Aug 20, 2022 23:195,66263,649,67918,118,68002,203,648