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 listDec 30, 2022 21:52Hal FHal FScore: 5,701Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 21:525,66841,055,82416,121,0002,015,0002,277,376
2Dec 30, 2022 21:525,67736,932,41316,149,0002,018,0002,277,376
3Dec 30, 2022 21:525,67838,787,58916,151,0002,018,0002,527,232
4Dec 30, 2022 21:525,68044,279,98716,156,0002,019,0002,277,376
5Dec 30, 2022 21:525,68444,682,98616,169,0002,021,0002,269,184
6Dec 30, 2022 21:525,68937,192,82716,182,0002,022,0002,277,376
7Dec 30, 2022 21:525,70139,178,82116,216,0002,027,0002,527,232
8Dec 30, 2022 21:525,73141,480,83815,282,0003,056,0002,273,280
9Dec 30, 2022 21:525,73141,265,69316,302,0002,037,0002,277,376
10Dec 30, 2022 21:525,91589,412,34418,926,81102,174,976
11Dec 30, 2022 21:525,93367,245,79418,986,33202,301,952
12Dec 30, 2022 21:525,956118,005,59919,057,74002,301,952