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 23, 2022 21:56Franek KortaFranek KortaScore: 4,799Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 23, 2022 21:564,78833,842,84211,237,0004,086,0002,531,328
2Aug 23, 2022 21:564,79338,087,82615,337,00002,433,024
3Aug 23, 2022 21:564,79329,372,27014,316,0001,022,0002,531,328
4Aug 23, 2022 21:564,79434,409,91313,297,0002,045,0002,527,232
5Aug 23, 2022 21:564,79631,591,68814,325,0001,023,0002,269,184
6Aug 23, 2022 21:564,79741,651,37214,328,0001,023,0002,531,328
7Aug 23, 2022 21:564,79929,463,64913,309,0002,047,0002,428,928
8Aug 23, 2022 21:564,80032,539,85515,361,00002,424,832
9Aug 23, 2022 21:564,80933,387,18213,191,0002,198,0002,531,328
10Aug 23, 2022 21:564,97965,406,56115,932,02402,207,744
11Aug 23, 2022 21:565,00882,082,10016,025,06202,191,360
12Aug 23, 2022 21:565,02081,951,96516,064,59702,187,264