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 listJul 24, 2022 12:28Robert BurkeRobert BurkeScore: 4,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:284,48540,601,46813,326,0001,025,0002,281,472
2Jul 24, 2022 12:284,48835,744,79413,337,0001,025,0002,281,472
3Jul 24, 2022 12:284,49230,600,06513,348,0001,026,0002,281,472
4Jul 24, 2022 12:284,49332,048,81613,352,0001,027,0002,281,472
5Jul 24, 2022 12:284,50335,194,04513,382,0001,029,0002,445,312
6Jul 24, 2022 12:284,50829,993,64413,394,0001,030,0002,281,472
7Jul 24, 2022 12:284,51738,174,89613,421,0001,032,0002,281,472
8Jul 24, 2022 12:284,52142,576,92213,434,0001,033,0002,281,472
9Jul 24, 2022 12:284,52630,989,97713,448,0001,034,0002,281,472
10Jul 24, 2022 12:284,75477,612,32415,212,10602,203,648
11Jul 24, 2022 12:284,75583,049,23115,215,49602,207,744
12Jul 24, 2022 12:284,75978,697,83715,228,49202,211,840