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 4, 2023 22:34Hal FHal FScore: 5,055Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 4, 2023 22:345,01639,299,82914,044,0002,006,0002,269,184
2Jan 4, 2023 22:345,02831,482,47214,077,0002,011,0002,277,376
3Jan 4, 2023 22:345,03335,992,75314,092,0002,013,0002,519,040
4Jan 4, 2023 22:345,04142,934,77115,124,0001,008,0002,273,280
5Jan 4, 2023 22:345,04637,852,37615,137,0001,009,0002,289,664
6Jan 4, 2023 22:345,05036,280,52115,150,0001,010,0002,289,664
7Jan 4, 2023 22:345,05532,910,23315,166,0001,011,0002,289,664
8Jan 4, 2023 22:345,07638,237,52115,227,0001,015,0002,277,376
9Jan 4, 2023 22:345,08335,827,05214,231,0002,033,0002,277,376
10Jan 4, 2023 22:345,28792,575,89316,919,95402,252,800
11Jan 4, 2023 22:345,316101,920,80917,012,03902,301,952
12Jan 4, 2023 22:345,35082,875,83517,120,19502,293,760