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 21, 2022 18:16Franek KortaFranek KortaScore: 5,407Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 21, 2022 18:165,37532,426,51316,189,0001,011,0002,433,024
2Aug 21, 2022 18:165,38534,841,73915,204,0002,027,0002,445,312
3Aug 21, 2022 18:165,39133,770,03914,207,0003,044,0002,449,408
4Aug 21, 2022 18:165,39632,028,19916,251,0001,015,0002,441,216
5Aug 21, 2022 18:165,39833,703,20717,275,00002,445,312
6Aug 21, 2022 18:165,40237,216,24217,286,00002,269,184
7Aug 21, 2022 18:165,40736,809,56117,303,00002,449,408
8Aug 21, 2022 18:165,40933,094,13417,308,00002,531,328
9Aug 21, 2022 18:165,42043,845,66417,344,00002,531,328
10Aug 21, 2022 18:165,64875,353,25118,074,81302,195,456
11Aug 21, 2022 18:165,65195,829,35518,082,53702,199,552
12Aug 21, 2022 18:165,68388,180,84918,186,98402,203,648