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 22, 2024 11:27matsuoka-601matsuoka-601Score: 5,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:275,44133,147,24217,411,00002,265,088
2Jan 22, 2024 11:275,44237,413,77417,413,00002,293,760
3Jan 22, 2024 11:275,45738,736,62916,434,0001,027,0002,281,472
4Jan 22, 2024 11:275,46238,895,21117,479,00002,293,760
5Jan 22, 2024 11:275,46741,198,26616,464,0001,029,0002,281,472
6Jan 22, 2024 11:275,47043,299,91016,474,0001,029,0002,293,760
7Jan 22, 2024 11:275,49940,769,76316,561,0001,035,0002,273,280
8Jan 22, 2024 11:275,50337,989,85116,575,0001,035,0002,375,680
9Jan 22, 2024 11:275,52743,693,94016,646,0001,040,0002,273,280
10Jan 22, 2024 11:275,60384,479,12717,930,90402,260,992
11Jan 22, 2024 11:275,62890,441,23218,008,47002,301,952
12Jan 22, 2024 11:275,62986,115,24818,014,10402,179,072