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 13, 2024 00:01Joad NacerJoad NacerScore: 5,017Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2024 00:014,99143,388,82413,976,0001,996,0002,289,664
2May 13, 2024 00:014,99738,684,44914,990,000999,0002,289,664
3May 13, 2024 00:014,99847,052,35113,994,0001,999,0002,289,664
4May 13, 2024 00:015,00238,482,71515,006,0001,000,0002,269,184
5May 13, 2024 00:015,00333,618,90714,010,0002,001,0002,289,664
6May 13, 2024 00:015,00931,839,25614,027,0002,003,0002,371,584
7May 13, 2024 00:015,01732,751,58014,048,0002,006,0002,359,296
8May 13, 2024 00:015,02038,599,32315,060,0001,004,0002,289,664
9May 13, 2024 00:015,02146,429,89414,060,0002,008,0002,289,664
10May 13, 2024 00:015,10085,673,07916,320,65702,174,976
11May 13, 2024 00:015,15491,811,58616,493,89602,179,072
12May 13, 2024 00:015,15883,813,78016,506,15902,174,976