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 28, 2021 20:49Dmitry DolgopolovDmitry DolgopolovScore: 5,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:494,98637,942,85813,961,0001,994,0002,437,120
2May 28, 2021 20:494,98840,686,15513,967,0001,995,0002,273,280
3May 28, 2021 20:494,99741,114,94514,991,000999,0002,535,424
4May 28, 2021 20:494,99835,912,95813,994,0001,999,0002,273,280
5May 28, 2021 20:494,99836,216,77213,994,0001,999,0002,453,504
6May 28, 2021 20:495,00038,631,47714,001,0002,000,0002,535,424
7May 28, 2021 20:495,00337,723,92614,009,0002,001,0002,441,216
8May 28, 2021 20:495,00738,712,69914,020,0002,002,0002,441,216
9May 28, 2021 20:495,00839,745,05414,022,0002,003,0002,273,280
10May 28, 2021 20:495,01330,760,53414,038,0002,005,0002,523,136
11May 28, 2021 20:495,01641,270,50014,045,0002,006,0002,273,280
12May 28, 2021 20:495,01644,708,47314,046,0002,006,0002,535,424
13May 28, 2021 20:495,01837,037,62414,052,0002,007,0002,273,280
14May 28, 2021 20:495,01937,082,66914,055,0002,007,0002,269,184
15May 28, 2021 20:495,02235,957,55014,061,0002,008,0002,273,280
16May 28, 2021 20:495,03332,160,91914,094,0002,013,0002,273,280
17May 28, 2021 20:495,04144,570,68614,116,0002,016,0002,433,024
18May 28, 2021 20:495,04839,221,47214,133,0002,019,0002,535,424
19May 28, 2021 20:495,23741,453,59116,759,11402,203,648
20May 28, 2021 20:495,23869,891,98216,760,29202,195,456
21May 28, 2021 20:495,24751,497,35416,790,31602,195,456
22May 28, 2021 20:495,25483,711,87816,813,19302,199,552
23May 28, 2021 20:495,26273,862,98416,838,93802,199,552
24May 28, 2021 20:495,26344,128,56116,840,24002,199,552