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 20, 2024 15:06Joad NacerJoad NacerScore: 4,853Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2024 15:064,79442,932,21714,318,0001,022,0002,277,376
2Apr 20, 2024 15:064,80641,233,52714,353,0001,025,0002,289,664
3Apr 20, 2024 15:064,82132,814,35014,399,0001,028,0002,289,664
4Apr 20, 2024 15:064,83141,394,01114,430,0001,030,0002,289,664
5Apr 20, 2024 15:064,83730,441,65914,446,0001,031,0002,281,472
6Apr 20, 2024 15:064,84633,147,41214,474,0001,033,0002,289,664
7Apr 20, 2024 15:064,85332,766,35715,531,00002,289,664
8Apr 20, 2024 15:064,85839,235,11514,510,0001,036,0002,277,376
9Apr 20, 2024 15:064,87733,013,85114,567,0001,040,0002,289,664
10Apr 20, 2024 15:065,09290,620,80616,294,30302,301,952
11Apr 20, 2024 15:065,10559,065,84416,335,28902,183,168
12Apr 20, 2024 15:065,179124,744,52816,572,76302,260,992