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 11, 2021 17:41Yuriy LyfenkoYuriy LyfenkoScore: 5,688Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 17:415,64547,129,92816,058,0002,007,0002,519,040
2May 11, 2021 17:415,64748,750,39416,062,0002,007,0002,523,136
3May 11, 2021 17:415,65145,137,30516,075,0002,009,0002,383,872
4May 11, 2021 17:415,67243,534,22216,133,0002,016,0002,519,040
5May 11, 2021 17:415,67540,240,61116,142,0002,017,0002,387,968
6May 11, 2021 17:415,67846,161,36016,150,0002,018,0002,379,776
7May 11, 2021 17:415,68842,165,68816,181,0002,022,0002,519,040
8May 11, 2021 17:415,70637,314,32316,231,0002,028,0002,506,752
9May 11, 2021 17:415,70746,938,59916,234,0002,029,0002,392,064
10May 11, 2021 17:416,17878,119,32319,770,37902,277,376
11May 11, 2021 17:416,21590,623,42219,887,33902,277,376
12May 11, 2021 17:416,22481,282,18819,917,32302,289,664