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 22:07Jack FrigaardJack FrigaardScore: 4,958Success
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 22:074,91543,890,66414,679,0001,048,0002,273,280
2Jan 3, 2023 22:074,94134,345,94513,835,0001,976,0002,289,664
3Jan 3, 2023 22:074,95343,976,09213,869,0001,981,0002,289,664
4Jan 3, 2023 22:074,95736,268,46813,879,0001,982,0002,273,280
5Jan 3, 2023 22:074,95842,397,38813,881,0001,983,0002,289,664
6Jan 3, 2023 22:074,95831,737,74013,881,0001,983,0002,289,664
7Jan 3, 2023 22:074,95834,462,99214,875,000991,0002,269,184
8Jan 3, 2023 22:074,96334,059,96314,888,000992,0002,265,088
9Jan 3, 2023 22:074,98034,182,81813,944,0001,992,0002,289,664
10Jan 3, 2023 22:075,15570,806,19716,496,76002,301,952
11Jan 3, 2023 22:075,16185,264,83416,514,57202,297,856
12Jan 3, 2023 22:075,18388,776,54916,586,91902,293,760