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 17, 2021 21:15Yuriy LyfenkoYuriy LyfenkoScore: 5,530Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 21:155,4532,517,266,39216,423,0001,026,0002,527,232
2May 17, 2021 21:155,471507,329,10117,506,00002,506,752
3May 17, 2021 21:155,4772,363,956,00415,578,0001,947,0002,523,136
4May 17, 2021 21:155,493508,291,79116,602,000976,0002,265,088
5May 17, 2021 21:155,5021,781,007,95215,649,0001,956,0002,260,992
6May 17, 2021 21:155,5221,743,563,82716,632,0001,039,0002,519,040
7May 17, 2021 21:155,530904,463,43217,696,00002,523,136
8May 17, 2021 21:155,5473,021,877,65116,763,000986,0002,523,136
9May 17, 2021 21:155,5641,053,565,46214,838,0002,967,0002,519,040
10May 17, 2021 21:155,625923,651,53717,998,48602,277,376
11May 17, 2021 21:155,649793,107,61218,075,36702,285,568
12May 17, 2021 21:155,6872,617,496,41218,198,26802,281,472