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,510Success
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,47339,666,37816,484,0001,030,0002,285,568
2Feb 22, 2024 12:275,49240,946,32216,540,0001,033,0002,293,760
3Feb 22, 2024 12:275,49637,296,47316,554,0001,034,0002,289,664
4Feb 22, 2024 12:275,50337,976,02816,574,0001,035,0002,293,760
5Feb 22, 2024 12:275,50433,439,01117,614,00002,293,760
6Feb 22, 2024 12:275,50844,894,76916,588,0001,036,0002,293,760
7Feb 22, 2024 12:275,51049,058,01417,633,00002,293,760
8Feb 22, 2024 12:275,52544,823,54516,640,0001,040,0002,527,232
9Feb 22, 2024 12:275,53443,068,58316,668,0001,041,0002,535,424
10Feb 22, 2024 12:275,68798,209,28018,199,76702,301,952
11Feb 22, 2024 12:275,70683,337,30518,260,69302,289,664
12Feb 22, 2024 12:275,717104,809,48118,294,60802,306,048