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 listNov 1, 2021 11:23Ilya AniskovetsIlya AniskovetsScore: 5,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:235,48337,704,82217,546,00002,289,664
2Nov 1, 2021 11:235,50946,836,59917,628,00002,289,664
3Nov 1, 2021 11:235,51043,191,38716,596,0001,037,0002,289,664
4Nov 1, 2021 11:235,51746,218,52016,617,0001,038,0002,289,664
5Nov 1, 2021 11:235,52144,087,73817,666,00002,277,376
6Nov 1, 2021 11:235,52342,568,72616,636,0001,039,0002,273,280
7Nov 1, 2021 11:235,53346,644,16716,664,0001,041,0002,289,664
8Nov 1, 2021 11:235,58746,871,10315,891,0001,986,0002,269,184
9Nov 1, 2021 11:235,59248,504,80215,905,0001,988,0002,289,664
10Nov 1, 2021 11:235,65582,763,70218,096,78902,301,952
11Nov 1, 2021 11:235,66478,529,59218,126,34102,174,976
12Nov 1, 2021 11:235,68778,231,70718,198,92102,293,760