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:50Franek KortaFranek KortaScore: 5,652Success
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:505,60737,879,37615,949,0001,993,0002,445,312
2Aug 20, 2022 23:505,61442,571,25116,966,000998,0002,531,328
3Aug 20, 2022 23:505,62239,148,10914,991,0002,998,0002,441,216
4Aug 20, 2022 23:505,62345,673,82516,996,000999,0002,449,408
5Aug 20, 2022 23:505,62837,874,59216,008,0002,001,0002,441,216
6Aug 20, 2022 23:505,64036,460,62816,043,0002,005,0002,449,408
7Aug 20, 2022 23:505,65239,517,68917,081,0001,004,0002,531,328
8Aug 20, 2022 23:505,66839,432,48516,122,0002,015,0002,531,328
9Aug 20, 2022 23:505,67731,697,17015,138,0003,027,0002,269,184
10Aug 20, 2022 23:505,88591,907,17118,830,76102,199,552
11Aug 20, 2022 23:505,88695,928,41318,834,66002,199,552
12Aug 20, 2022 23:505,923101,703,39418,954,04702,195,456