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 listJul 13, 2021 20:40Andrey TsvetkovAndrey TsvetkovScore: 6,162Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 20:406,12349,008,67819,594,00002,326,528
2Jul 13, 2021 20:406,12542,984,30519,600,00002,330,624
3Jul 13, 2021 20:406,12944,086,24119,612,00002,330,624
4Jul 13, 2021 20:406,13043,327,64018,584,0001,032,0002,326,528
5Jul 13, 2021 20:406,13239,591,31317,557,0002,065,0002,326,528
6Jul 13, 2021 20:406,15049,534,63418,646,0001,035,0002,326,528
7Jul 13, 2021 20:406,16248,159,91117,643,0002,075,0002,330,624
8Jul 13, 2021 20:406,18676,684,17419,794,80102,220,032
9Jul 13, 2021 20:406,20533,206,46018,865,000992,0002,523,136
10Jul 13, 2021 20:406,21584,620,73319,886,52602,211,840
11Jul 13, 2021 20:406,21542,233,00217,899,0001,988,0002,519,040
12Jul 13, 2021 20:406,25388,495,21220,009,71102,232,320