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 14, 2022 19:48Franek KortaFranek KortaScore: 5,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2022 19:485,32037,275,86917,024,00002,531,328
2Aug 14, 2022 19:485,32130,142,53017,028,00002,531,328
3Aug 14, 2022 19:485,32936,922,19216,051,0001,003,0002,445,312
4Aug 14, 2022 19:485,33035,785,54316,054,0001,003,0002,453,504
5Aug 14, 2022 19:485,33049,451,00316,054,0001,003,0002,428,928
6Aug 14, 2022 19:485,33840,776,76815,072,0002,009,0002,527,232
7Aug 14, 2022 19:485,34438,559,74616,095,0001,005,0002,445,312
8Aug 14, 2022 19:485,36336,389,66416,151,0001,009,0002,531,328
9Aug 14, 2022 19:485,37538,413,03215,176,0002,023,0002,445,312
10Aug 14, 2022 19:485,56379,229,44417,802,58402,199,552
11Aug 14, 2022 19:485,58588,121,26917,872,93402,203,648
12Aug 14, 2022 19:485,59489,554,84917,901,47102,195,456