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:15Franek KortaFranek KortaScore: 5,406Success
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:155,36439,577,40913,126,0004,038,0002,531,328
2Aug 20, 2022 23:155,39238,931,21217,254,00002,445,312
3Aug 20, 2022 23:155,39335,612,80716,243,0001,015,0002,527,232
4Aug 20, 2022 23:155,40337,776,77517,289,00002,441,216
5Aug 20, 2022 23:155,40440,697,78117,294,00002,441,216
6Aug 20, 2022 23:155,40638,233,71617,298,00002,441,216
7Aug 20, 2022 23:155,40645,335,16717,299,00002,531,328
8Aug 20, 2022 23:155,42639,339,84916,342,0001,021,0002,531,328
9Aug 20, 2022 23:155,43042,774,98417,376,00002,445,312
10Aug 20, 2022 23:155,65093,978,77518,078,53002,199,552
11Aug 20, 2022 23:155,65279,179,48918,085,71202,195,456
12Aug 20, 2022 23:155,67773,821,19018,165,04002,195,456