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 18:56Joad NacerJoad NacerScore: 5,635Success
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 18:565,58648,334,23617,876,00002,289,664
2Apr 17, 2024 18:565,59038,221,60515,902,0001,987,0002,396,160
3Apr 17, 2024 18:565,59336,480,66616,847,0001,052,0002,265,088
4Apr 17, 2024 18:565,59446,476,55615,913,0001,989,0002,289,664
5Apr 17, 2024 18:565,61340,732,32715,966,0001,995,0002,527,232
6Apr 17, 2024 18:565,63240,957,24916,020,0002,002,0002,289,664
7Apr 17, 2024 18:565,63540,691,00616,028,0002,003,0002,289,664
8Apr 17, 2024 18:565,63941,760,10816,040,0002,005,0002,273,280
9Apr 17, 2024 18:565,72041,562,34116,271,0002,033,0002,289,664
10Apr 17, 2024 18:565,873104,698,93718,792,00802,252,800
11Apr 17, 2024 18:565,89792,517,31418,871,29502,301,952
12Apr 17, 2024 18:565,89887,832,60518,873,08702,297,856