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 listApr 16, 2024 23:55Joad NacerJoad NacerScore: 5,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2024 23:555,58344,617,49915,881,0001,985,0002,531,328
2Apr 16, 2024 23:555,59736,399,18515,921,0001,990,0002,277,376
3Apr 16, 2024 23:555,60041,885,00415,929,0001,991,0002,371,584
4Apr 16, 2024 23:555,60741,614,66515,949,0001,993,0002,277,376
5Apr 16, 2024 23:555,62239,521,86315,992,0001,999,0002,273,280
6Apr 16, 2024 23:555,62441,540,85215,997,0001,999,0002,289,664
7Apr 16, 2024 23:555,63839,299,00416,037,0002,004,0002,289,664
8Apr 16, 2024 23:555,65443,140,80516,082,0002,010,0002,273,280
9Apr 16, 2024 23:555,65743,768,55016,091,0002,011,0002,289,664
10Apr 16, 2024 23:555,69682,967,64718,225,69702,183,168
11Apr 16, 2024 23:555,72792,335,03418,326,41102,301,952
12Apr 16, 2024 23:555,753105,320,31218,409,97902,301,952