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,339Success
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,30643,312,43715,982,000998,0002,531,328
2Aug 14, 2022 19:485,30837,342,39215,986,000999,0002,441,216
3Aug 14, 2022 19:485,31038,439,54015,992,000999,0002,441,216
4Aug 14, 2022 19:485,32537,812,64915,035,0002,004,0002,441,216
5Aug 14, 2022 19:485,32844,448,58215,043,0002,005,0002,441,216
6Aug 14, 2022 19:485,33243,883,26316,059,0001,003,0002,531,328
7Aug 14, 2022 19:485,33940,094,29816,081,0001,005,0002,445,312
8Aug 14, 2022 19:485,34033,834,22815,077,0002,010,0002,441,216
9Aug 14, 2022 19:485,35042,542,42015,107,0002,014,0002,449,408
10Aug 14, 2022 19:485,55289,362,69417,765,34602,195,456
11Aug 14, 2022 19:485,56982,514,38517,821,68502,203,648
12Aug 14, 2022 19:485,59887,760,57217,914,96202,191,360