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 17, 2024 03:45Joad NacerJoad NacerScore: 5,314Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:455,28744,065,66614,929,0001,990,0002,289,664
2Apr 17, 2024 03:455,29033,598,28115,933,000995,0002,289,664
3Apr 17, 2024 03:455,30539,934,93314,980,0001,997,0002,273,280
4Apr 17, 2024 03:455,30637,875,38114,983,0001,997,0002,277,376
5Apr 17, 2024 03:455,30943,836,05814,990,0001,998,0002,289,664
6Apr 17, 2024 03:455,31138,371,37414,997,0001,999,0002,289,664
7Apr 17, 2024 03:455,31439,362,63615,004,0002,000,0002,289,664
8Apr 17, 2024 03:455,31839,719,56316,017,0001,001,0002,289,664
9Apr 17, 2024 03:455,32935,191,93615,047,0002,006,0002,289,664
10Apr 17, 2024 03:455,51490,249,09917,646,39302,293,760
11Apr 17, 2024 03:455,54695,071,68817,745,78402,301,952
12Apr 17, 2024 03:455,57593,987,64617,841,47102,289,664