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 listApr 3, 2023 21:44Franek KortaFranek KortaScore: 4,893Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 3, 2023 21:444,85133,775,65213,453,0002,069,0002,269,184
2Apr 3, 2023 21:444,85537,045,84313,465,0002,071,0002,531,328
3Apr 3, 2023 21:444,85930,613,05014,512,0001,036,0002,424,832
4Apr 3, 2023 21:444,86937,662,05815,582,00002,428,928
5Apr 3, 2023 21:444,87237,355,67113,512,0002,078,0002,428,928
6Apr 3, 2023 21:444,87932,609,96114,573,0001,040,0002,531,328
7Apr 3, 2023 21:444,89332,334,37813,571,0002,087,0002,428,928
8Apr 3, 2023 21:444,89337,085,21015,658,00002,531,328
9Apr 3, 2023 21:445,00485,322,24016,011,98602,195,456
10Apr 3, 2023 21:445,01172,932,86216,036,05402,199,552
11Apr 3, 2023 21:445,02887,704,66716,089,65102,191,360
12Apr 3, 2023 21:445,08839,234,52614,246,0002,035,0002,269,184