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:26matsuoka-601matsuoka-601Score: 5,495Success
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:265,44643,949,02916,403,0001,025,0002,293,760
2Jan 22, 2024 11:265,45241,002,19016,421,0001,026,0002,293,760
3Jan 22, 2024 11:265,45349,584,66616,424,0001,026,0002,293,760
4Jan 22, 2024 11:265,47741,119,11417,527,00002,293,760
5Jan 22, 2024 11:265,47942,585,69616,503,0001,031,0002,293,760
6Jan 22, 2024 11:265,48439,944,99116,517,0001,032,0002,273,280
7Jan 22, 2024 11:265,49538,565,08016,549,0001,034,0002,523,136
8Jan 22, 2024 11:265,51143,001,48116,597,0001,037,0002,363,392
9Jan 22, 2024 11:265,53249,389,98816,661,0001,041,0002,273,280
10Jan 22, 2024 11:265,60784,836,69017,943,97902,183,168
11Jan 22, 2024 11:265,63276,855,32718,023,10602,187,264
12Jan 22, 2024 11:265,64271,780,68618,053,29602,301,952