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 listMay 26, 2022 12:23Keichi TakahashiKeichi TakahashiScore: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 26, 2022 12:235,28831,050,75814,931,0001,990,0002,265,088
2May 26, 2022 12:235,29033,098,32415,932,000995,0002,265,088
3May 26, 2022 12:235,29933,089,39214,963,0001,995,0002,527,232
4May 26, 2022 12:235,30346,058,01814,973,0001,996,0002,387,968
5May 26, 2022 12:235,31741,277,75415,013,0002,001,0002,523,136
6May 26, 2022 12:235,32545,980,20315,036,0002,004,0002,265,088
7May 26, 2022 12:235,32643,564,62915,038,0002,005,0002,387,968
8May 26, 2022 12:235,33338,380,42415,059,0002,007,0002,265,088
9May 26, 2022 12:235,33544,923,54415,065,0002,008,0002,265,088
10May 26, 2022 12:235,49790,577,19717,589,66802,277,376
11May 26, 2022 12:235,51471,519,59017,644,39902,285,568
12May 26, 2022 12:235,54073,203,07017,728,10102,289,664