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 29, 2021 23:00Yuriy LyfenkoYuriy LyfenkoScore: 5,199Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 23:005,14636,680,69215,437,0001,029,0002,273,280
2May 29, 2021 23:005,15248,643,97116,486,00002,273,280
3May 29, 2021 23:005,15439,049,05514,433,0002,061,0002,273,280
4May 29, 2021 23:005,16633,306,55412,398,0004,132,0002,404,352
5May 29, 2021 23:005,17546,372,68616,560,00002,404,352
6May 29, 2021 23:005,17646,452,06715,589,000974,0002,408,448
7May 29, 2021 23:005,19951,004,34715,599,0001,039,0002,408,448
8May 29, 2021 23:005,20045,152,03615,600,0001,040,0002,486,272
9May 29, 2021 23:005,20138,946,68415,604,0001,040,0002,273,280
10May 29, 2021 23:005,30693,991,61016,977,79602,220,032
11May 29, 2021 23:005,33581,446,62417,070,93602,285,568
12May 29, 2021 23:005,35586,539,67117,136,44902,289,664