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 listSep 19, 2022 09:37Kenneth MaplesKenneth MaplesScore: 5,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 09:375,39745,817,26916,254,0001,015,0002,392,064
2Sep 19, 2022 09:375,40333,415,55117,290,00002,519,040
3Sep 19, 2022 09:375,40638,407,80915,265,0002,035,0002,519,040
4Sep 19, 2022 09:375,40840,728,13416,289,0001,018,0002,387,968
5Sep 19, 2022 09:375,40940,701,15615,272,0002,036,0002,519,040
6Sep 19, 2022 09:375,43439,506,27215,343,0002,045,0002,387,968
7Sep 19, 2022 09:375,43848,439,87017,403,00002,519,040
8Sep 19, 2022 09:375,43836,240,17817,403,00002,519,040
9Sep 19, 2022 09:375,44138,255,82517,412,00002,387,968
10Sep 19, 2022 09:375,69780,082,77918,231,06802,281,472
11Sep 19, 2022 09:375,72083,281,17518,303,10002,281,472
12Sep 19, 2022 09:375,72391,592,41818,314,91702,281,472