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 listFeb 22, 2024 12:27Huy Duc LeHuy Duc LeScore: 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
1Feb 22, 2024 12:275,46342,341,00116,452,0001,028,0002,269,184
2Feb 22, 2024 12:275,47738,660,58817,525,00002,293,760
3Feb 22, 2024 12:275,48038,168,70316,506,0001,031,0002,289,664
4Feb 22, 2024 12:275,48534,576,32816,521,0001,032,0002,293,760
5Feb 22, 2024 12:275,49245,877,23317,575,00002,293,760
6Feb 22, 2024 12:275,49639,820,04216,553,0001,034,0002,293,760
7Feb 22, 2024 12:275,49931,994,25616,563,0001,035,0002,293,760
8Feb 22, 2024 12:275,50945,690,75316,592,0001,037,0002,293,760
9Feb 22, 2024 12:275,52734,095,48216,646,0001,040,0002,293,760
10Feb 22, 2024 12:275,68867,269,65318,200,76502,297,856
11Feb 22, 2024 12:275,70475,932,33618,254,27702,301,952
12Feb 22, 2024 12:275,71691,558,71418,289,91302,306,048