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:10matsuoka-601matsuoka-601Score: 5,513Success
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:105,47846,560,11117,528,00002,289,664
2Jan 22, 2024 11:105,47833,969,58716,500,0001,031,0002,285,568
3Jan 22, 2024 11:105,48540,382,17516,521,0001,032,0002,289,664
4Jan 22, 2024 11:105,49439,888,11416,546,0001,034,0002,289,664
5Jan 22, 2024 11:105,50244,500,68816,570,0001,035,0002,289,664
6Jan 22, 2024 11:105,50248,315,92717,606,00002,289,664
7Jan 22, 2024 11:105,51345,538,99316,605,0001,037,0002,531,328
8Jan 22, 2024 11:105,52140,122,91716,629,0001,039,0002,273,280
9Jan 22, 2024 11:105,53347,661,89716,665,0001,041,0002,289,664
10Jan 22, 2024 11:105,76476,203,64518,446,03502,179,072
11Jan 22, 2024 11:105,78075,644,28418,495,37402,306,048
12Jan 22, 2024 11:105,91989,658,79618,940,81602,179,072