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 listJan 5, 2023 22:52Hal FHal FScore: 5,472Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 22:525,43144,419,03817,379,00002,269,184
2Jan 5, 2023 22:525,43544,262,26416,368,0001,023,0002,277,376
3Jan 5, 2023 22:525,44439,500,45816,398,0001,024,0002,289,664
4Jan 5, 2023 22:525,46541,804,61216,461,0001,028,0002,289,664
5Jan 5, 2023 22:525,46939,321,98716,473,0001,029,0002,273,280
6Jan 5, 2023 22:525,47044,428,20816,476,0001,029,0002,289,664
7Jan 5, 2023 22:525,47235,906,41416,481,0001,030,0002,383,872
8Jan 5, 2023 22:525,47538,011,93016,489,0001,030,0002,289,664
9Jan 5, 2023 22:525,47642,066,05317,524,00002,277,376
10Jan 5, 2023 22:525,70782,301,96718,261,58002,293,760
11Jan 5, 2023 22:525,72589,972,77918,321,52902,301,952
12Jan 5, 2023 22:525,74088,878,20518,369,32302,297,856