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 3, 2023 19:55Hal FHal FScore: 4,859Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 19:554,80434,526,89514,349,0001,024,0002,281,472
2Jan 3, 2023 19:554,80739,902,33514,358,0001,025,0002,289,664
3Jan 3, 2023 19:554,83142,021,70514,428,0001,030,0002,289,664
4Jan 3, 2023 19:554,83237,378,15215,461,00002,289,664
5Jan 3, 2023 19:554,83531,216,74914,442,0001,031,0002,269,184
6Jan 3, 2023 19:554,85036,644,01214,486,0001,034,0002,289,664
7Jan 3, 2023 19:554,85932,872,37514,514,0001,036,0002,260,992
8Jan 3, 2023 19:554,86542,521,42014,530,0001,037,0002,355,200
9Jan 3, 2023 19:554,87433,314,69314,559,0001,039,0002,269,184
10Jan 3, 2023 19:555,06186,928,42216,194,90202,297,856
11Jan 3, 2023 19:555,06177,220,97716,194,88202,293,760
12Jan 3, 2023 19:555,10296,373,03816,326,29202,301,952