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:13Franek KortaFranek KortaScore: 5,420Success
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:135,37042,830,81913,140,0004,043,0002,519,040
2Aug 20, 2022 23:135,39233,805,07715,224,0002,029,0002,519,040
3Aug 20, 2022 23:135,40034,100,87316,265,0001,016,0002,260,992
4Aug 20, 2022 23:135,40136,615,48315,250,0002,033,0002,519,040
5Aug 20, 2022 23:135,40833,655,09714,253,0003,054,0002,387,968
6Aug 20, 2022 23:135,40936,961,78916,291,0001,018,0002,387,968
7Aug 20, 2022 23:135,42042,556,24215,303,0002,040,0002,519,040
8Aug 20, 2022 23:135,42736,548,35214,303,0003,064,0002,392,064
9Aug 20, 2022 23:135,43738,684,09316,375,0001,023,0002,392,064
10Aug 20, 2022 23:135,63388,090,48218,025,45502,273,280
11Aug 20, 2022 23:135,65389,338,01118,089,35102,269,184
12Aug 20, 2022 23:135,65992,091,86518,108,07002,277,376