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 16, 2021 23:02Yuriy LyfenkoYuriy LyfenkoScore: 5,683Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 23:025,642740,835,17016,049,0002,006,0002,523,136
2May 16, 2021 23:025,655669,766,56017,091,0001,005,0002,523,136
3May 16, 2021 23:025,6633,566,475,57117,117,0001,006,0002,523,136
4May 16, 2021 23:025,667574,198,25518,133,00002,265,088
5May 16, 2021 23:025,672762,073,51416,240,0001,910,0002,265,088
6May 16, 2021 23:025,6772,787,402,90018,167,00002,260,992
7May 16, 2021 23:025,6832,838,340,95816,272,0001,914,0002,527,232
8May 16, 2021 23:025,691639,261,23118,212,00002,260,992
9May 16, 2021 23:025,7003,510,485,51017,281,000960,0002,527,232
10May 16, 2021 23:026,0564,360,275,86519,379,53602,277,376
11May 16, 2021 23:026,0631,343,701,72919,400,13002,285,568
12May 16, 2021 23:026,077950,594,74719,447,48002,285,568