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 19, 2024 11:40AnSaAnSaScore: 5,391Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 11:405,34742,351,85316,104,0001,006,0002,281,472
2Jan 19, 2024 11:405,35737,487,77116,135,0001,008,0002,281,472
3Jan 19, 2024 11:405,36033,183,98215,134,0002,017,0002,281,472
4Jan 19, 2024 11:405,36743,932,82715,155,0002,020,0002,396,160
5Jan 19, 2024 11:405,37040,586,15116,173,0001,010,0002,281,472
6Jan 19, 2024 11:405,37838,033,90115,184,0002,024,0002,404,352
7Jan 19, 2024 11:405,39133,736,40116,238,0001,014,0002,281,472
8Jan 19, 2024 11:405,40439,891,30015,258,0002,034,0002,510,848
9Jan 19, 2024 11:405,40440,653,78016,276,0001,017,0002,387,968
10Jan 19, 2024 11:405,59095,825,07517,888,67202,260,992
11Jan 19, 2024 11:405,59462,035,46717,899,31702,260,992
12Jan 19, 2024 11:405,60291,184,56617,925,40302,260,992