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 24, 2021 20:05Yuriy LyfenkoYuriy LyfenkoScore: 5,158Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 20:055,12843,447,44215,385,0001,025,0002,396,160
2May 24, 2021 20:055,13039,508,60516,415,00002,392,064
3May 24, 2021 20:055,13132,593,39815,392,0001,026,0002,260,992
4May 24, 2021 20:055,13937,737,70515,417,0001,027,0002,510,848
5May 24, 2021 20:055,14639,316,75316,466,00002,383,872
6May 24, 2021 20:055,14833,222,92916,473,00002,519,040
7May 24, 2021 20:055,15832,031,85515,473,0001,031,0002,387,968
8May 24, 2021 20:055,17137,397,42615,512,0001,034,0002,523,136
9May 24, 2021 20:055,17936,965,31916,572,00002,260,992
10May 24, 2021 20:055,33670,632,81117,074,80602,281,472
11May 24, 2021 20:055,34451,903,72917,102,02402,281,472
12May 24, 2021 20:055,38371,985,09517,224,74002,277,376